Thread: hard disk serial number

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    hard disk serial number

    hello everyone!!

    i am trying to retrive the manufacturer's serial number while using windows98. how can i do this?? i dont need to access the hard disk's volume number. i can get the manufacturer's serial number of the hard disk while using windowsXP. so, what should i do in order to get the hard disk's serial number while using windows9x? thanks in advance...

  2. #2
    Registered User
    Join Date
    May 2003
    Posts
    1,619
    I found a link with C# code that can do exactly this:

    http://www.codeproject.com/csharp/ha...k_serialNo.asp

    If you're looking for C/C++, not sure. Maybe something in it will still be helpful.

    It seems, from the article, you'll need to use WMI for this. Maybe that's at least a pointer in the right general direction.
    Last edited by Cat; 08-31-2006 at 03:03 AM.
    You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Equivalent to volume serial number in linux
    By Elkvis in forum Linux Programming
    Replies: 8
    Last Post: 06-30-2009, 08:46 PM
  2. Debian on a system with Compact Flash, without Hard Disk
    By mynickmynick in forum Linux Programming
    Replies: 19
    Last Post: 09-01-2008, 11:38 AM
  3. Getting the hard drive serial number?
    By kes103 in forum Windows Programming
    Replies: 2
    Last Post: 01-18-2002, 03:03 PM
  4. Getting the hard drive serial number?
    By kes103 in forum C Programming
    Replies: 2
    Last Post: 01-18-2002, 01:43 PM
  5. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-25-2001, 11:45 PM