Hard disk Serial no.,Model no. and capacity

Discussion in 'Mac Programming' started by naveen, Feb 21, 2005.

  1. macrumors member

    Joined:
    Oct 27, 2004
    #1
    Hi all
    I want to know the Serial No., Model No. and capacity of the hard disk.
    I wanted to get these through programming using the Mac OS routines. but i don't know through which function and header file inclusion i can do this.

    Plz anyone have knowlege then plz guide me.

    Thanks and Regards
     
  2. Moderator emeritus

    mad jew

    Joined:
    Apr 3, 2004
    Location:
    Adelaide, Australia
    #2
    Try the system profiler. Under the blue Apple sign in the top right, click on About This Mac. From there click on the More Info button. :)
     
  3. macrumors 68030

    superbovine

    Joined:
    Nov 7, 2003
    #3
    The person wants to do it programmatically.

    http://cocoa.mamasam.com/COCOADEV/2003/07/1/68334.php
     
  4. thread starter macrumors member

    Joined:
    Oct 27, 2004
    #4
    Hi all
    How this can done through C/C++ because i have not knowlege of cocoa programming. Plz assist me.

    Thanks and Regards
     

Share This Page