Any Function in VC++ that can retrive the Unique ID of my computer,
-
Hi Guys, I would like to retrive the Unique ID of my computer in VC++ code. Can any one can help with the sample function to retrive the unique ID. :) Thank You. Regards .
What Unique ID? -- Rocky Dean Pulley
-
Hi Guys, I would like to retrive the Unique ID of my computer in VC++ code. Can any one can help with the sample function to retrive the unique ID. :) Thank You. Regards .
I assume you're talking about the SID. Check out the NewSID program by Mark Russinovich over at SysInternals. It comes with the source code and should tell you way more than you were wanting to know. Excerpt from the article:
A computer's SID is stored in the Registry's SECURITY hive under SECURITY\SAM\Domains\Account. This key has a value named F and a value named V. The V value is a binary value that has the computer SID embedded within it at the end of its data.