Checks to see if a valid license with the given name exists on the server.
Namespace:
GrassValley.Mseries.AppServerAssembly: GrassValley.Mseries.AppServer (in GrassValley.Mseries.AppServer.dll) Version: 1.0.0.0
Syntax
C# |
---|
public bool IsLicenseValid( string licenseName, int majorVersion, int minorVersion, out Object timeoutArray ) |
Visual Basic (Declaration) |
---|
Public Function IsLicenseValid ( _ licenseName As String, _ majorVersion As Integer, _ minorVersion As Integer, _ <OutAttribute> ByRef timeoutArray As Object _ ) As Boolean |
Visual C++ |
---|
public: virtual bool IsLicenseValid( String^ licenseName, int majorVersion, int minorVersion, [OutAttribute] Object^% timeoutArray ) sealed |
Parameters
- licenseName
- Type: System..::.String
License name.
- majorVersion
- Type: System..::.Int32
Major version for license. Can be 0 if version doesn't matter.
- minorVersion
- Type: System..::.Int32
minor version number of license; set to 0 if version is not applicable.
- timeoutArray
- Type:
System..::.Object
%
Returns a 3 element array with expiration date (day, month, year).