<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Miscellaneous Functions > WLHardwareCheckID |
The WLHardwareCheckID validates a given hardware ID. This function is designed to know when a user reports a fake or real hardware ID. This will avoid being cheated by users that reports the wrong typing in their hardware ID.
bool WLHardwareCheckID ( char* pHardwareId); |
function WLHardwareCheckID ( pHardwareId:PAnsiChar ):Boolean; stdcall; |
Public Declare Function WLHardwareCheckID Lib "WinLicenseSDK.dll" ( ByVal pHardwareId As String ) As Boolean |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern bool WLHardwareCheckID(string HardwareId);
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLHardwareCheckID(HardwareId As String) As Boolean End Function |
Parameters
pHardwareId
[in] Pointer to a null-terminated string that specifies the hardware ID to validate.
Return Values
If the hardware ID is valid, the return value is True.
If the hardware ID is invalid, the return value is False.
See Also
WLHardwareGetID, WLHardwareGetFormattedID