Click here to Skip to main content
15,441,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've made an exe file ( in wpf) ,and write it on a CD .
How can I limit another one , not to be able to copy the exe file?
or if he/she copies that ,it doesn't execute?
Posted
Updated 14-May-10 2:39am
v3

There are several protection tecniques for CDs, for instance intentionally insert corrupted data onto the CD raw image.
However be aware that in allowance to the laws of some counties, the user has the right to make a copy of his software for backup purposes (just in case the original support get damaged), and currently the most of software houses don't put protections on the software CDs or DVDs, preferring other protection schemes: product keys and or activation keys, hardware dongles, license files, ...

There are several tools that are able to add software and/or hardware protection schemes to your assemblies; the best depends on your target audience, budget, deployment method, and so on.
 
Share this answer
 
You won't be able to stop the copy and to restrict usage you'll need some sort of license/validation key mechanism
 
Share this answer
 
Nima.naqipoor wrote:
How can I limit another one , not to be able to copy the exe file?

Delete the file :).

You can probably move this file to a folder that can only be accessed by you - either by using Windows access permissions or by using a "folder password" program.

You can use a licensing key mechanism within your code to allow only those knowing the key to execute it. If you search on the internet you may find some sites which will help you create and validate against a license.
 
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