<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegTotalDays |
The WLRegTotalDays function retrieves the total number of days in the current license key.
int WLRegTotalDays(void); |
function WLRegTotalDays():Integer; stdcall; |
Public Declare Function WLRegTotalDays Lib "WinLicenseSDK.dll" () As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLRegTotalDays();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegTotalDays() As Integer End Function |
Parameters
This function has no parameters.
Return Values
The return value is the number of total days 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