<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegLockedCountry |
The WLRegLockedCountry function retrieves the country code in the current license key. The application will be locked to that country when registered.
int WLRegLockedCountry(void); |
function WLRegLockedCountry():Integer; stdcall; |
Public Declare Function WLRegLockedCountry Lib "WinLicenseSDK.dll" () As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLRegLockedCountry();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegLockedCountry() As Integer End Function |
Parameters
This function has no parameters.
Return Values
If the function succeeds the return value is the country code in the current license key. To see a list of the possible country codes, check the country codes list.
If a license key has not been installed, the return value is wlNoKey (-2).