Page 1 of 1

Lock serial number to hardware - how does it work?

Posted: Wed Dec 12, 2012 6:09 pm
by annika
Hello,

I have two questions converning the "lock serial number to hardware" feature.

1. Is it right that as the obfuscated application starts running,
the hardware identifier is retrieved directly from the hardware
and then compared to some information hidden in the obfuscated
application to decide whether it should continue to run?
In particular, is it right that the HW identifier isn't stored
in any other file/application?

2. Apart from what is contained in the help file, is there a
tutorial on how to deply this feature? I would be interested
in the real mode, not the test mode.

Best
Annika

Re: Lock serial number to hardware - how does it work?

Posted: Fri Dec 14, 2012 5:41 am
by Admin
1. The hardware identifier doesn't store in the protected application. It's just the "field" of a serial number. When you generate the serial number (via VMProtect's license manager or your keygen) you can specify "Hardware ID":
Image

"Harware ID" - it's the hardware identifier of the customer computer that you can get with VMProtectGetCurrentHWID()

2. Please check the example from the "%VMProtect%/Examples/Licensing" directory.

Re: Lock serial number to hardware - how does it work?

Posted: Mon Dec 17, 2012 1:19 am
by annika
Thank you very much!

So my first question should actually refer to the serial number:

How is my customer's serial number checked at runtime of the protected application?

More precisely, I understand that my customer holds some serial number that I gave to them (A), and some code that performs a check if this serial number is valid (B). If this is right, is (B) part of the protected application, or is it some other executable file?

I am just wondering which extra code/files my customer would need.

Best
Annika

Re: Lock serial number to hardware - how does it work?

Posted: Mon Dec 17, 2012 5:36 am
by Admin
I recommend you to read user manual about our licensing system:
http://vmpsoft.com/vmprotect/user-manua ... ing-system

This manual has all answers on your questions.

Re: Lock serial number to hardware - how does it work?

Posted: Tue Dec 18, 2012 12:19 pm
by annika
I read through this manual. What I don't understand is the following:

Assume that I have protected my customer's application and locked some code to a serial number, which I in turn locked to a hardware identifier by specifying a certain "field".

Is the hardware identifier retrieved directly from the hardware as the protected application starts running in order to perform the check?

The manual suggests that as the protected application starts running, it just checks the serial number by comparing it with the valid serial number, which is stored somewhere in the obfuscated code.

I am aware that the latter doesn't really make sense, but from the description I just don't see what's going on instead.

Best
Annika

Re: Lock serial number to hardware - how does it work?

Posted: Thu Jan 03, 2013 4:54 am
by Admin
The question has been solved by phone.