<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegCheckMachineLocked |
The WLRegCheckMachineLocked function determines if the current license is locked to a specific machine.
bool WLRegCheckMachineLocked(void); |
function WLRegCheckMachineLocked():Boolean; stdcall; |
Public Declare Function WLRegCheckMachineLocked Lib "WinLicenseSDK.dll" () As Boolean |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern bool WLRegCheckMachineLocked();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegCheckMachineLocked() As Boolean End Function |
Parameters
This function has no parameters.
Return Values
If the current license key is locked to a specific machine, the return value is True.
If the application is not licensed or the current license is not locked to a specific machine, the return value is False.