DeployLX Software Protection System

SecureLicenseContext..::..CallServer Method

Calls a LicenseServer in to enforce a Limit remotely or to obtain information from the server.

Syntax

Public Function CallServer ( _
	command As String, _
	address As String, _
	referenceLimit As Limit, _
	referenceLicense As SecureLicense, _
	properties As LicenseValuesDictionary, _
	noProxyAutoRetry As Boolean _
) As ServerResult
public ServerResult CallServer(
	string command,
	string address,
	Limit referenceLimit,
	SecureLicense referenceLicense,
	LicenseValuesDictionary properties,
	bool noProxyAutoRetry
)

Parameters

command
The command to invoke on the server.
address
The address of the license server.
referenceLimit
Reference to the limit, if any, that is initiating the call. May be nullNothingnullptra null reference (Nothing in Visual Basic).
referenceLicense
reference to the license that is initiating the call. May be nullNothingnullptra null reference (Nothing in Visual Basic) if referenceLimit is provided.
properties
Collection of properties to include in the request.
noProxyAutoRetry
Indicates if proxy connection errors should not be handled automatically by prompting the user for their credentials.

Return Value

Returns an ServerResult instance that encapsulates the result of the call to the server.

Remarks

Caution Do not call this method directly. Instead add a Limit to a SecureLicense that calls the server as part of the license validation.

Assembly:  DeployLX.Licensing.v5 (in DeployLX.Licensing.v5.dll)

See Also