PDA

View Full Version : Keeping Data On One Computer


evosonic
04-18-2006, 09:57 AM
I have a project where I'm trying to keep information that my program has written to the registry only be accessible on the computer it was intended to be on. In other words, the program I have can be copied anywhere, but unless the data is in a certain place, you can't access it.

I suppose this is similar to have the software registered on only one PC at a time, except they can have the software, I just don't want them to be able to view the information written to the registry.

If that makes sense, or if it is even possible, I would love to read any opinions on how it could be accomplished!

TJS
04-18-2006, 10:14 AM
One of the best ways to accomplish this is to link the application to the users hard drive serial number. This can be done by hard coding the value into special builds for each machine (works well for small numbers of installations). If you need to manage larger numbers of installations, you'll want to take a look at this excellent Thread with examples started by Roboblue.

http://www.indigorose.com/forums/showthread.php?t=9484&highlight=drive+label

evosonic
04-18-2006, 10:18 AM
Excellent... Many thanks! :yes :)