Search code examples
c++copy-protection

C++ let a program work just at one pc


I want to make a program for some people, so i make the program again for each person, and if someone gives the program to other guy, he can't use it.

How can I do that? Without any internet connection.

Does any PC has some unique id or something like that, that i can make him a program to get it, so he will send me, and in my program i'll check if is the same, if not the program will stop.

Something like hwid will work? Is the hardware id unique and cannot be changed? If so, how can I get it? I found a lot of questions, but without any good answers..


Solution

  • Take a look at these:

    If you want something a bit harder to spoof than whatever the machine itself can tell you, you'll probably need a USB dongle dedicated for this purpose.