WLRegGetLicenseType

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Registration Functions >

WLRegGetLicenseType

The WLRegGetLicenseType function retrieves a bitmask with the location (File or Registry) and type (Normal Key, Static SmartKey, Dynamic SmartKey) of the current license.

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

 

This function has no parameters.

 

 

Return Values

 

The return value is a bit mask with the the location and type of the current key:

 

Bit 0:  Location of license:

0: License is located in a file.

1: License is located in the Registry.

 

Bits 1-2: Type of license:

01: Normal license.

10: Static SmartKey.

11: Dynamic SmartKey.