DataPA Enterprise Dashboard Controls API Reference
Assembly: DataPAClientConfig (in DataPAClientConfig.dll) Version: 1.0.1.0 (1.0.1.0)
True if the supplied license is valid.
Checks a license, returns true and applies it to this object if it is valid.
Namespace: DataPAClientConfigAssembly: DataPAClientConfig (in DataPAClientConfig.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
C# |
---|
public bool ApplyLicense( string SerialNumber, string RegistrationCode, string User, string Organisation ) |
Visual Basic |
---|
Public Function ApplyLicense ( SerialNumber As String, RegistrationCode As String, User As String, Organisation As String ) As Boolean |
Visual C++ |
---|
public: virtual bool ApplyLicense( String^ SerialNumber, String^ RegistrationCode, String^ User, String^ Organisation ) sealed |
Parameters
- SerialNumber
- Type: System..::..String
The serial number of the license to be applied.
- RegistrationCode
- Type: System..::..String
The registration code of the license to be applied.
- User
- Type: System..::..String
The user this license is to be applied to.
- Organisation
- Type: System..::..String
The organisation this license is to be applied to.
Return Value
Type: BooleanTrue if the supplied license is valid.