Soren,
You mean this?
\\\Set a reference to system.managagemen
Dim disk As New Management.ManagementObject( _
"Win32_LogicalDisk.DeviceID=""C:""")
Dim diskProperty As Management.PropertyData
MessageBox.Show(disk.Properties("VolumeSerialNumbe r").Value.ToString)
///
I hope this helps a little bit?
Cor
"Soren Hyltoft" <sh@impuls-technic.dk>
Using API: GetVolumeInformation to retrieve harddisk serial number works
in
VB6
But in VB.NET it returns 0.
Please tell me how to do it in VB.NET