retreive the model identifier: MacBookPro4,1
Hi, I can't find the proper API or .plist file on my system to retrieve the Model Identifier of a Mac. (MacBookPro4,1 for an example)
I am also trying to retreive the main hard drive's serial number and processor information. All those info are available in the system profiler but I don't know how to get it from an API.
I could only find the Gestalt(gestaltSystemVersionMajor, &versMaj); to retrieve the Mac OS X version number but I can't find the other info that I need using the gestalt.
I am using cocoa.
Thanks for any help
Simon
I am also trying to retreive the main hard drive's serial number and processor information. All those info are available in the system profiler but I don't know how to get it from an API.
I could only find the Gestalt(gestaltSystemVersionMajor, &versMaj); to retrieve the Mac OS X version number but I can't find the other info that I need using the gestalt.
I am using cocoa.
Thanks for any help
Simon
Macbook Pro, Mac OS X (10.5.2)