Search code examples
vb.netcopy-protection

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


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?


Solution

  • 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.