is there a way to retrieve a unique machine ID. I want to protect a piece of software so that it can only execute on a particular machine.
Printable View
is there a way to retrieve a unique machine ID. I want to protect a piece of software so that it can only execute on a particular machine.
MAC-address of the Network card is one of the widly used identifiers...
As long as you realize that a determined person can circumvent it... Some combination of hostname, MAC address, other system stats. You could get the machine GUID directly from Windows, but again, this can be faked. Just type GUID into an MSDN search.
Also, you are creating a pain in the ass for your user, because they can no longer change their hostname, or install a new network card, without changing their identifier. Are you sure you want to take the support calls when that happens?
> I want to protect a piece of software so that it can only execute on a particular machine.
And lose customers whenever they upgrade the bit you're dependent on?
Unless you pull an ID from several different sources, and tolerate a certain amount of change from the baseline.