WLTrialDateDaysLeft

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Trial Functions >

WLTrialDateDaysLeft

The WLTrialDateDaysLeft function retrieves the number of trial days left when you are protecting with the option Date Expiration.

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 the number of  trial days left before expiring.

 

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

 

 

Remarks

 

Please, notice that this function returns the number of days left when you enable the trial Date Expiration option. If you are protecting your application with Days Expiration and you want to know the number of days left, you have to use the function WLTrialDaysLeft.