Can SDK Func VMProtectGetCurrentHWID get hwid from serial number?
how to do?
May I ask why do you need this?
However i set what values of hwid,the pragram runs wrong,
when the program protected by VMProtect and the serial number contains hwid.
i don’t know how to transfer the right hwid value to VMProtect functions, so the VMProtectSetSerialNumber() will return CORRUPTED.
The HWID of the system is computed by VMProtect. You can get the current HWID using the API call.
If you put HWID to the serial number, VMProtect will compare it with the system one. If they are matched, the serial number is OK.
You don’t need to pass a HWID to VMProtect yourself.
where can i learn the API call ?
You need to call VMProtectGetCurrentHWID() to get the current HWID.
See the user manual for more details and examples.
1、how does VMProtect compute the hwid of system?
2、in the examples,VMProtectGetCurrentHWID() get hwid from ini-file,can VMProtectSetSerialNumber() automatic compare it with the one in serial numer?
Please read next parts of the help file:
The software licensing system → Example of usage → Step #9: Lock serial number to hardware
and
The software licensing system → Example of usage → Licensing module API
The help file and examples have all necessary information that you need.
I have know that.
VMProtectGetCurrentHWID() can get system hwid after VMProtect compiler.
and put this hwid value to serial number,than VMProtectSetSerialNumber() return tight.
thank you very much,support and admin!