<< Click to Display Table of Contents >> Navigation: WinLicense > FAQ > Hardware Lock > When I call WLHardwareGetId, I always get “1111-2222-3333-....”, no matter if I try on other computers? |
When the application runs unprotected, WinLicense is returning a fake value for each function (you can change the return values for each function by editing the file “WinlicenseSDK.ini”). The idea is that you can debug your application or simulate a trial/registration expiration, etc, without having to protect your application.
Once that you protect your application, the function WLHardwareGetId will return the real hardware ID for the current machine.
Summing up, you have to protect your application in order to get the real hardware ID.