Terry,
There is not a real serial number, there is sometimes a processor number and
with a computer connected to a LAN or whatever that uses a network adapter,
a Mac address, and probably more numbers, however as far as I have seen not
an always existing unique one.
You can find those starting reading here reading (after that a is a little
sample in this message).
http://msdn.microsoft.com/library/de...Management.asp http://msdn.microsoft.com/library/de...classtopic.asp
It are a lot of collections in collections.
I have not at the moment a sample at hand for those numbers, however see
this sample how to get drive information. I do not know where I got it
anymore.
\\\Add a reference to "System.Management.dll".
Dim disk As New ManagementObject( _
"Win32_LogicalDisk.DeviceID=""C:""" )
Dim diskProperty As PropertyData
For Each diskProperty In disk.Properties
Console.WriteLine( _
"{0} = {1}", _
diskProperty.Name,
diskProperty.Value )
Next diskProperty
///
I hope this helps?
Cor
"Terry Olsen" <to******@hotmail.com> schreef in bericht
news:Oa**************@TK2MSFTNGP11.phx.gbl...
Does anyone know how to retrieve the system serial number? I'm writing an
auditing program and need to grab that little bit of info.
Thanks!