开发者

How to limit use to only one computer per installation?

开发者 https://www.devze.com 2022-12-23 21:20 出处:网络
I\'m about to release my application which is built in C# VS2008 to my customer, and I want to prevent copy abuse post deployment, since it\'s easy to copy installation files to another mach开发者_Sta

I'm about to release my application which is built in C# VS2008 to my customer, and I want to prevent copy abuse post deployment, since it's easy to copy installation files to another mach开发者_StackOverflowine and use the application. I want to limit usage to only one computer per installation.


See this question for some products that will help you do this...

https://stackoverflow.com/questions/118031/best-activation-key-software-for-net-application

My favorite for now is IntelliLock. Decent price, supports ASP.Net, and has been around for a while.

Locking to a machine ID is not a trivial thing to do manually. So I would us a license software package. Even if you're just trying to deter casual copying, you have to consider machine components change, and people get new computers.

But if you really want to do this manually see CPU serial number and http://www.vcskicks.com/hardware_id.php. But note even the CPU Serial is not a fool proof method as it quite often is disabled.


Use hashing to generate an unlock key. The idea is to gather some data which is fixed on the target machine but also unique. Examples are the name of the machine, id of network card, ... Generate a hash from these values and let the user send this data to you. Generated a new hash from this value and a secret key (only known by you) and send it back to the user. Now the user has to enter this key to unlock your software.


Use an "activation" scheme, like Microsoft does with Windows. Each installation must authenticate itself against a server somewhere using a key. If a key is used more than once, prompt the user to call and talk to a real person.


Just make a pre-screen to enter login\pwd

0

精彩评论

暂无评论...
验证码 换一张
取 消