Thread: Disk serial numbers (split)

  1. #1
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Okay.. as I can recall, long ago I asked the question once. Does anyone have any idea:

    How to get scsi hard disk/mainboard/processor/ serial number using C?
    Last edited by zahid; 03-17-2003 at 11:29 PM.
    [ Never code before desk work ]
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    The Registry contains information about your disk configuration in the subkeys HKEY_LOCAL_MACHINE\HARDWARE\DeviceMap\AtDisk and Scsi.
    Or GetVolumeInformation()

    May need assembly to get the other info - and even then, you may need the CPU to be in privileged mode in order to execute the necessary instructions to get the information you want.


  3. #3
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    GetVolumeInformation() I believe is the better of those two approaches. I have used it before and it seems to be a good way.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can't Read From Serial Port
    By HalNineThousand in forum Linux Programming
    Replies: 14
    Last Post: 03-20-2008, 05:56 PM
  2. Music Programming - Serial Matrix Display (Help needed)
    By CrazyHorse in forum C Programming
    Replies: 1
    Last Post: 11-13-2007, 04:28 PM
  3. Music Programming - Serial Matrix Display
    By CrazyHorse in forum C Programming
    Replies: 1
    Last Post: 11-12-2007, 04:16 PM
  4. Print binary numbers to disk file, problem
    By Guti14 in forum C Programming
    Replies: 4
    Last Post: 10-04-2004, 07:33 AM
  5. the definition of a mathematical "average" or "mean"
    By DavidP in forum A Brief History of
    Replies: 7
    Last Post: 12-03-2002, 11:15 AM