Question about VMProtectGetCurrentHWID

Issues related to VMProtect
Post Reply
bobpops
Posts: 5
Joined: Thu Dec 16, 2010 8:56 am

Question about VMProtectGetCurrentHWID

Post by bobpops »

Can SDK Func VMProtectGetCurrentHWID get hwid from serial number?
how to do?
Support
Posts: 40
Joined: Tue Mar 30, 2010 5:01 pm

Re: Question about VMProtectGetCurrentHWID

Post by Support »

May I ask why do you need this?
bobpops
Posts: 5
Joined: Thu Dec 16, 2010 8:56 am

Re: Question about VMProtectGetCurrentHWID

Post by bobpops »

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.
Support
Posts: 40
Joined: Tue Mar 30, 2010 5:01 pm

Re: Question about VMProtectGetCurrentHWID

Post by Support »

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.
bobpops
Posts: 5
Joined: Thu Dec 16, 2010 8:56 am

Re: Question about VMProtectGetCurrentHWID

Post by bobpops »

where can i learn the API call ?
Support
Posts: 40
Joined: Tue Mar 30, 2010 5:01 pm

Re: Question about VMProtectGetCurrentHWID

Post by Support »

You need to call VMProtectGetCurrentHWID() to get the current HWID.
See the user manual for more details and examples.
bobpops
Posts: 5
Joined: Thu Dec 16, 2010 8:56 am

Re: Question about VMProtectGetCurrentHWID

Post by bobpops »

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?
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Question about VMProtectGetCurrentHWID

Post by Admin »

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.
bobpops
Posts: 5
Joined: Thu Dec 16, 2010 8:56 am

Re: Question about VMProtectGetCurrentHWID

Post by bobpops »

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!
Post Reply