Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to make a inventory system which is install on single PC through a single CD Drive & that CD cannot be run on another PC. I thought it may be done by making my software as license version. But i don't have any idea that how can i apply it through coding...
Please send me reply as soon as possible.
Posted
Updated 17-Oct-10 22:41pm
v4

There are different ways to achieve this
1) encrypted license files that contains the expiry dates etc.
2) encrypted license keys held in the registry
3) challenge/response mechanism which require an internet connection
4) probably others.......

Try: License Key Generation[^] or: How can I create a Product Key for my C# App[^] or: c# Licensing[^]

Also, Cryptography 101 for the .NET Framework[^]
Hope this helps.
 
Share this answer
 
See here[^].
 
Share this answer
 
The only way that you can be almost 100% sure that the cd is only installed on ONE computer is by making an external webservice to validate your license key. The installer/program should supply a machine specific fingerprint as well as the license key and the web service should deny installation using an already known license key unless the machine fingerprint is the same.

There are some problems with this approach, though: If the user drastically changes his machine configuration, then he will not be able to reinstall the program (if that should be necessary)...
 
Share this answer
 
You should use some sort of hardware-locking scheme if you want to restrict usage to specific machines(s).

Give CryptoLicensing a try - it supports machine-locking/activations.
 
Share this answer
 
You can use a dongle device.We can set the counter to limit the no of times the code 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