|
-
Mar 7th, 2003, 02:47 PM
#1
Thread Starter
Frenzied Member
Old story of HDD Serial, New Issues..[Long Live WMI]
In a thread there was a discussion about how to get the HDD serial number. There, an API was suggested that returned the VOLUME serial number. Today I came across FileSystemObject, that by using that you can simply get the VOLUME serial number:
After adding a reference to Microsoft Scripting Runtime COM component you can easily do that by:
VB Code:
Imports Scripting
'
'
Dim fso As New FileSystemObject()
MessageBox.Show(fso.GetDrive("C").SerialNumber.ToString)
As you see this method and that API call both return the Volume Serial number.
I like to know is there a way to read the hard-coded manufacturer's hard drive serial number? Just curious to know
Last edited by Lunatic3; Apr 1st, 2003 at 01:56 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|