WLTrialExpirationTimestamp

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Trial Functions >

WLTrialExpirationTimestamp

The WLTrialExpirationTimestamp function gets the exact expiration timestamp when an application is protected with trial days expiration. This function can be called when an application has been protected with trial days expiration to know the exact date and time that the trial 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 protected with trial days expiration, the return value is False.

 

 

Remarks

 

This function only works when the application is protected with trial days expiration. In other cases, it will always return False.