Create a GUID to uniquely identify a machine.
-
Sir, I am trying to find a unique machine of the computers listed in my network. I can do it in 2 ways:By obtaining 1.IPAddress 2.MAC Address Since IPAddress is subject to change and MAC address changes if there is change in the hardware configuration. So the only way is to create a GUID of that machine. The question is how one should go about in creating GUID. I mean what are the functions should I use? Is there any API? I know that 2 utilities like GuidGen.exe and uuidGen.exe create unique GUIDS. Pls guide Regards
-
Sir, I am trying to find a unique machine of the computers listed in my network. I can do it in 2 ways:By obtaining 1.IPAddress 2.MAC Address Since IPAddress is subject to change and MAC address changes if there is change in the hardware configuration. So the only way is to create a GUID of that machine. The question is how one should go about in creating GUID. I mean what are the functions should I use? Is there any API? I know that 2 utilities like GuidGen.exe and uuidGen.exe create unique GUIDS. Pls guide Regards
CoCreateGuid
. Stability. What an interesting concept. -- Chris Maunder