<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegExecutionsLeft |
The WLRegExecutionsLeft function retrieves the number of executions left in the current license key.
int WLRegExecutionsLeft(void); |
function WLRegExecutionsLeft():Integer; stdcall; |
Public Declare Function WLRegExecutionsLeft Lib "WinLicenseSDK.dll" () As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLRegExecutionsLeft();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegExecutionsLeft() As Integer End Function |
Parameters
This function has no parameters.
Return Values
The return value is the number of executions left in the current license key.
If the license key is a permanent key the return value is wlPermKey (-1).
If a license key has not been installed, the return value is wlNoKey (-2).
See Also