WLRegExpirationDate

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Registration Functions >

WLRegExpirationDate

The WLRegExpirationDate function retrieves the expiration date in a license key.

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

 

pExpDate

[out] Pointer to a SYSTEMTIME structure that receives the license expiration date.

 

 

Return Values

 

If the function succeeds the return value is zero.

 

If the license key is a permanent key the return value is wlPermKey (-1).

 

If a license key has not been installed, the return value is wlNoKey (-2).