WLRegNormalKeyCheck

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Registration Functions >

WLRegNormalKeyCheck

The WLRegNormalKeyCheck validates a text key. This function should be called before installing a text key into the system.

 

From WinLicense 2.0, if you call this function the registration is performed on the fly and the application will go into registered mode if the key is correct. Notice that if the key contains expiration information, the application needs to be restarted (WLRestartApplication) in order to start the expiration process. If no expiration is inserted in the license, then the registration process is fully performed without having to restart the application.

Click to expand/collapseShow C/C++ function definition
Click to expand/collapseShow Delphi function definition
Click to expand/collapseShow Visual Basic Native function definition
Click to expand/collapseShow .NET function definition

 

Parameters

 

pTextKey

[in] Pointer to a null-terminated string that specifies the text key to validate.

 

 

Return Values

 

If the text key is valid, the return value is True.

 

If the text key is invalid, the return value is False.

 

 

See Also

 

WLRegNormalKeyInstallToRegistry, WLRegNormalKeyInstallToFile, WLGenLicenseTextKey