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
-
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
I hate to say this, but I fail to see how a GUID will uniquely identify a machine. In the past, GUID's were based on the MAC address. For security reasons, this is no longer true. As far as I know, it's based off the time and random values. -- Joel Lucsy