site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 28 févr. 07, at 10:45, Michael Smith wrote: -pmb _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... system_profiler -xml SPHardwareDataType At 11:31 AM +0100 2/28/07, Stephane Sudre wrote: This is a good last resort solution. But I would like to avoid relying on parsing because that would mean trusting nothing is changed by Apple between 2 releases. system_profiler is the only API that provides the human readable textual description you're looking for. The -xml flag will insulate you against format changes, and is designed for machine parsing. This email sent to site_archiver@lists.apple.com