Hard disk Serial no.,Model no. and capacity

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

  1. naveen macrumors member

    Oct 27, 2004
    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. mad jew Moderator emeritus

    mad jew

    Apr 3, 2004
    Adelaide, Australia
    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. superbovine macrumors 68030


    Nov 7, 2003
    The person wants to do it programmatically.

  4. naveen thread starter macrumors member

    Oct 27, 2004
    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