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.
Show C/C++ function definition
bool WLHardwareCheckID (
char* pHardwareId);
Show Delphi function definition
function WLHardwareCheckID (
pHardwareId:PChar
):Boolean; stdcall;
Show Visual Basic Native function definition
Public Declare Function WLHardwareCheckID Lib "WinLicenseSDK.dll" (
ByVal pHardwareId As String
) As Boolean
Show .NET function definition
[C#]
Kernel32.GetEnvironmentVariable("WLHardwareCheckID", [in/out] HardwareId, 100);
[Visual Basic]
GetEnvironmentVariable("WLHardwareCheckID", [in/out] HardwareId, 100)
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.