Checks for valid license, and returns expiration date.

Namespace:  GrassValley.Mseries.AppServer
Assembly:  GrassValley.Mseries.AppServer (in GrassValley.Mseries.AppServer.dll) Version: 1.0.0.0

Syntax

C#
bool IsLicenseValid(
	string licenseName,
	int majorVersion,
	int minorVersion,
	out Object timeoutArray
)
Visual Basic (Declaration)
Function IsLicenseValid ( _
	licenseName As String, _
	majorVersion As Integer, _
	minorVersion As Integer, _
	<OutAttribute> ByRef timeoutArray As Object _
) As Boolean
Visual C++
bool IsLicenseValid(
	String^ licenseName, 
	int majorVersion, 
	int minorVersion, 
	[OutAttribute] Object^% timeoutArray
)

Parameters

licenseName
Type: System..::.String
license name.
majorVersion
Type: System..::.Int32
major version number of license; set to 0 if version is not applicable.
minorVersion
Type: System..::.Int32
minor version number of license; set to 0 if version is not applicable.
timeoutArray
Type: System..::.Object %
the expiration date passed as a VARIANT wrapped SafeArray with 3 elements(day, month, year).

Return Value

true if a valid license exists on server; otherwise, false.

See Also