WLTrialExpirationDate

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Trial Functions >

WLTrialExpirationDate

The WLTrialExpirationDate function retrieves the trial expiration date in an 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

 

pExpDate

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

 

 

Return Values

 

If the function success the return value is zero.

 

If the current application does not have trial expiration date, the return value is wlNoTrialDate (-1).

 

 

Remarks

 

Before calling WLTrialExpirationDate, you should call the function WLTrialGetStatus, to know the status of the trial (expired, manipulated, etc).