Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
1.18/5 (3 votes)
See more:
How can I protect my application with key to run on new system?

(Edited, initially "Can This My Application Only Use in One Computer When SomeOne Copy Paste this application to other system they doesn't Run required Key")
Posted
Updated 10-Sep-15 3:15am
v5

Start with Google: Protect my application with key[^] and refine your search based on your language and target environment.

But...unless you are going to charge a heck of a lot for it, or you are going to sell huge numbers I wouldn't spend too long on the process. It's very easy to end up spending more in terms of your time on implementing protection that you would save in reduced piracy - and protection is a "red flag" for some people for whom hacking past it is a hobby. Look at Adobe: they spend a lot of money on protecting Photoshop, only for a cracked version to appear on torrent sites on the same day as it it released.
And beware over-protecting: it's easy to make life difficult for genuine users, and that can have a huge adverse effect on sales.
 
Share this answer
 
You can gather computer and/or user specific data (bios serial, hard drive label, MAC address on eth and wifi, User IDs etc...) with a specific program and crypt with an algorithm that your application knows. Then provide this license file with your app. Your app shall decrypt and compare information with that specific computer info several times in your app runs.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900