ApplyKey Method

Apply a new license key. The previously applied key will be replaced with LicenseKey.


Visual Basic .NET
Sub ApplyKey(ByVal LicenseKey As String) 
Visual C#
void ApplyKey(String LicenseKey);



[in] License key string. If NULL or empty string, the control works in demo mode.


The method may throw exception. Use GetLastError method to get the error code.

ftvspcErrorFailed 1 The operation has not been completed.
ftvspcErrorInvalidParameter 2 Invalid parameter.
ftvspcErrorInvalidLicense 5 Invalid license.
ftvspcErrorIncompatibleVersions 6 Incompatible versions of service and DLL API.