protecting software to run only on one computer in vb.net

Web Worm picture Web Worm · Mar 4, 2010 · Viewed 13k times · Source

I have developed a small application and now i want to protect it.

I want to run it only on my own computer and i have developed it for myself.

How can i do that?

Answer

Jay picture Jay · Mar 4, 2010

A. Don't publish it.
B. Hard-code your computer name in the code, and make the first thing the program does to be verifying that System.Environment.MachineName matches it.