Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 574
Boldijar Paul Avatar asked Mar 20 '26 22:03

Boldijar Paul


1 Answers

Take a look at these:

  • Uniquely identify PC based on software/hardware
  • C++ API : license management to protect a software
  • Generating a Hardware-ID on Windows
  • Restrict functionality to a certain computer
  • How to get unique hardware/software signature from a windows pc in c/c++

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.

like image 110
manlio Avatar answered Mar 23 '26 13:03

manlio



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!