I would like to write a program that will identify a machine( for licensing purposes), I tought about getting the following information and to compile an xml file with this data:
- MAC address.
- CPU data (serial, manufacture, etc)
- MotherBoard Identification. (serial, manufacture, etc)
can someone refer me to a lib that provide such information – I write my program in c++ and have troubles to find such a lib.
Should I dig in the registry for this information?
Many Thanks, ofer
Using WMI and getting the motherboard’s serial number should be enough (the other options are less secure, since an old computer may not have a network adapter and/or the CPU can be changed more likely than the motherboard).