how to read hard disk serial number

This is a discussion on how to read hard disk serial number within the C++ Programming forums, part of the General Programming Boards category; can any one help me to read the hard disk serial number using c,c++ regards...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    4

    how to read hard disk serial number

    can any one help me to read the hard disk serial number using c,c++


    regards

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    6,307
    The methods of doing this are system dependant. There is no generic way of doing it in C or C++.

    If you specify what operating system you're working with, and the sort of hardware, someone may be able to give an answer that works for you.

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    4

    hard disk serial number

    Quote Originally Posted by grumpy
    The methods of doing this are system dependant. There is no generic way of doing it in C or C++.

    If you specify what operating system you're working with, and the sort of hardware, someone may be able to give an answer that works for you.

    i am using winnt
    i need a c++ or c routing/function through which i can get physical serial number of hard disk

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  2. I am lost on how to read from file and output to file?
    By vicvic2477 in forum C++ Programming
    Replies: 4
    Last Post: 02-27-2005, 10:52 AM
  3. Efficient way to read in a randum number of numbers
    By TrojanGekko in forum C++ Programming
    Replies: 0
    Last Post: 03-05-2002, 11:04 PM
  4. Getting the hard drive serial number?
    By kes103 in forum Windows Programming
    Replies: 2
    Last Post: 01-18-2002, 02:03 PM
  5. Getting the hard drive serial number?
    By kes103 in forum C Programming
    Replies: 2
    Last Post: 01-18-2002, 12:43 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21