Is there any API on Mac OS X to get the name, chipset, manufacturer info for motherboard, display card and sound card devices ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the system_profiler command line tool with the
-xmloption to generate XML data for your system configuration and then parse the output of that.Use popen to run this from within your code and capture the XML output. Then use an appropriate XML library, e.g. TinyXML, to parse the output.