I am trying to implement Hardware locked Licensing.I found the following code from codeproject that generates hardware id(Machine ID)
Cara Membuat HWID Pada Program Anda menggunakan Enigma 3.70 full crack. Ini Adalah contoh nya Download Di Sini Enigma 3.70 Full Crack. Membuat Get Hardisk atau Menampilkan Serial Number Hardisk Pada Delphi 7. Get HardDisk Serial 1 Bagaimana mendapatkan Nomer Seri dari HardDisk?
This code generates Hardware Key
.My aim is to implement strict licensing scheme.As shown in the diagram given below,I am able to generate a unique machine or Hardware ID using the above code.
Based on the Machine ID or Key,I wish to generate an Activation Key so that it would be unique and can be used only on one machine because the Activation key would be generated from that Machines MachineIDHow can that be achieved?
Following is the image
I hope my doubt is clear.If not please let me know,I'll update the question with more information
user2614235
user2614235user26142357722 gold badges55 silver badges1818 bronze badges
1 Answer
The simple solution
The simple solution would be something like this. When the user buys your software, generate a unique GUID for the license. Let's call this the license key. When the user installs the software, you take your unique hardware key, concatenate that with the license key, and hash the result. The hash you generate will be the activation code that you're looking for. Store that value on your server. If the same license key is ever used to install the software on another machine, you will compare the computed activation code for that installation against the one you have stored on your server and deny the installation if the codes do not match.
The Catch
That being said... the way your current scheme is set up, you are going to risk making your customers very upset. For example, if I buy your software and my hard drive dies on me, with your current setup I would have no way to recover my software. If you're going to do hardware signature based licensing, you should try to restrict it to the features that are least likely to change. BIOS...ok maybe you're safe. But hard drive, network card, video card are much more likely to change.
![Cara Buat Key Hwid Cara Buat Key Hwid](http://3.bp.blogspot.com/-D2_uFX02uRQ/VVnnM8q5wsI/AAAAAAAAAR4/cLEZsbsXdDE/s1600/222222.png)
Also, you might want to give your customers a way to transfer the license to another computer. The way your do this is have a custom action in your uninstaller that will revoke the activation code for the license so it will no longer be tied to that hardware ID.
Conclusion
In all of this, the key is to keep things as simple as possible for your customer. There obviously is a trade-off between security and ease of use, but you DO NOT want to lock out legitimate customers and risk alienating them.
All that being said, there are also plenty of existing commercials options for managing licenses. QLM is pretty good is you're willing to shell out the money. In everything, just consider the cost of securing your software versus the value of securing it.
Daniel SimpkinsDaniel Simpkins