DeployLX Software Protection System

SessionsLimit..::..IsSessionValid Method

Determines whether there is a session available for the given context.

Syntax

Protected Function IsSessionValid ( _
	context As SecureLicenseContext, _
	reportError As Boolean _
) As Boolean
protected bool IsSessionValid(
	SecureLicenseContext context,
	bool reportError
)

Parameters

context
The current licensing context.
reportError
When true all errors are recorded and will be reported to the user if validation fails.

Return Value

Returns true if the session for the given context is valid, otherwise false.

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

See Also