Link to home
Start Free TrialLog in
Avatar of Sigh_Man
Sigh_Man

asked on

Prevent installation of my application on another machine, how to...

Guys,

I am installing my WinForms app onto someone's machine for testing purposes.
I don't mind if they continue to use it for evermore, but I want to prevent them or anyone else from copying the app over onto another machine.
When I install the app, I use the Setup project in VS (copying the files from Debug folder to the target machine).
If I simply delete the Setup files after installation, and remove them from Recycle, is this going to be enough to safeguard my app?

I appreciate that there might be some smart-alecs out there who could do something to copy my app, but I am looking to prevent "the average user" from copying it.

Thanks in advance...
ASKER CERTIFIED SOLUTION
Avatar of ptakja
ptakja
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sigh_Man
Sigh_Man

ASKER

Thanks.    :D
Points awarded.

One last thing: is it easy to encrypt registry entries?  And do you know where I can find how to do it?
Thanks.
The registry has a Cryptography namespace:

Imports System.Security.Cryptography

Never used it, but I am sure you can figure out how to encrypt, then write the data to the registry and then decrypt at runtime.
Cool.  Thanks.