<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Trial Functions > WLTrialExecutionsLeft |
The WLTrialExecutionsLeft function retrieves the number of trial executions left before expiring.
int WLTrialExecutionsLeft(void); |
function WLTrialExecutionsLeft():Integer; stdcall; |
Public Declare Function WLTrialExecutionsLeft Lib "WinLicenseSDK.dll" () As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLTrialExecutionsLeft();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLTrialExecutionsLeft() As Integer End Function |
Parameters
This function has no parameters.
Return Values
The return value is the number of trial executions left before expiring.
If the application was protected without Trial executions, the return value is -1.
See Also