<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegDateDaysLeft |
The WLRegDateDaysLeft function retrieves the number of days left in the current license when the license has Date Expiration.
int WLRegDateDaysLeft(void); |
function WLRegDateDaysLeft():Integer; stdcall; |
Public Declare Function WLRegDateDaysLeft Lib "WinLicenseSDK.dll" () As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLRegDateDaysLeft();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegDateDaysLeft() As Integer End Function |
Parameters
This function has no parameters.
Return Values
The return value is the number of days left in the current license key.
Remarks
Please, notice that this function returns the number of days left when the license has Date Expiration. If the license has Days Expiration and you want to know the number of days left, you have to use the function WLRegDaysLeft.