WLRegExpirationTimestamp

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Registration Functions >

WLRegExpirationTimestamp

The WLRegExpirationTimestamp function gets the exact expiration timestamp for a license key with days expiration. This function can be called when a license with days expiration is present to know the exact date and time that the license will expire.

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

 

pFileTime

[out] Pointer to a FILETIME structure that receives the expiration timestamp.

 

 

Return Values

 

If the function success the return value is True.

 

If the current application is not registered with a license with expiration days, the return value is False.

 

 

Remarks

 

This function only works with licenses with expiration days. In other cases, it will always return False.