Wednesday, January 2, 2013

Is there some uniqueID of each computer, to differentiate one from other?

http://stackoverflow.com/questions/6328455/is-there-some-uniqueid-of-each-computer-to-differentiate-one-from-other


ManagementObject dsk = new ManagementObject(@"win32_logicaldisk.deviceid=""" + drive + @":""");
dsk.Get();
string volumeSerial = dsk["VolumeSerialNumber"].ToString();

No comments:

Post a Comment