Thread: how to read hard disk serial number

  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,815
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-04-2005, 02: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, 11:52 AM
  3. Efficient way to read in a randum number of numbers
    By TrojanGekko in forum C++ Programming
    Replies: 0
    Last Post: 03-06-2002, 12:04 AM
  4. Getting the hard drive serial number?
    By kes103 in forum Windows Programming
    Replies: 2
    Last Post: 01-18-2002, 03:03 PM
  5. Getting the hard drive serial number?
    By kes103 in forum C Programming
    Replies: 2
    Last Post: 01-18-2002, 01:43 PM