Click or drag to resize

SessionManagerCheckApiVersionAndLogClientInfo Method

Check compatibility between client version and server version and log client info

Namespace:  FileHold.UserRoleManager
Assembly:  FileHold.UserRoleManager (in FileHold.UserRoleManager.dll) Version: 17.0.0.0
Syntax
C#
public int CheckApiVersionAndLogClientInfo(
	string sessionId,
	string clientVersion,
	ref string serverVersion,
	string clientBuildNumber,
	string clientAddress
)

Parameters

sessionId
Type: SystemString
Optional session ID for logging client version.
clientVersion
Type: SystemString
Input: client's API version (as Major.Minor)
serverVersion
Type: SystemString
Output: server's API version (as Major.Minor)
clientBuildNumber
Type: SystemString
Input: client build number
clientAddress
Type: SystemString
Input: client IP Address

Return Value

Type: Int32
* APIVersion.Compatible.Yes - versions are fully compatible * APIVersion.Compatible.Partially - server is newer but backward compatible, display a warning message * APIVersion.Compatible.No - server is too old and not compatible, display an error message
See Also