| DiaSpringWrapperApplyLicenseKey Method |
Applies a license key to the component and removes all trial limitations.
Namespace: InkostarAssembly: DiaSpringWrapper (in DiaSpringWrapper.dll) Version: 0.0.0.0
Syntaxpublic bool ApplyLicenseKey(
string LicenseToken,
string LicenseKey
)
Public Function ApplyLicenseKey (
LicenseToken As String,
LicenseKey As String
) As Boolean
public:
bool ApplyLicenseKey(
String^ LicenseToken,
String^ LicenseKey
)
member ApplyLicenseKey :
LicenseToken : string *
LicenseKey : string -> bool
Parameters
- LicenseToken
- Type: SystemString
The license token supplied at point of sale. - LicenseKey
- Type: SystemString
The license key obtained during registration.
Return Value
Type:
BooleanTrue if the license was applied successfully, otherwise false
Remarks
This function will return false if the license key is invalid
Examples
C#: objDevice.ApplyLicenseKey("123456789", "ABCDEFGHIFK1234");
VB.NET: objDevice.ApplyLicenseKey("123456789", "ABCDEFGHIFK1234")
See Also