|
Version: 1.2 Posted: 2005-10-27 Build Requirements: Project Builder 2.1 or Xcode 2.1 Runtime Requirements: Mac OS X 10.2 or later Download Sample (GetPrimaryMACAddress.zip, 78.9K) |
||||||
DescriptionThis command-line tool demonstrates how to retrieve the Ethernet MAC address of the built-in Ethernet controller from the I/O Registry on Mac OS X. This is useful if you need a means of uniquely identifying a Macintosh system. Techniques shown include finding the primary (built-in) Ethernet interface, finding the parent Ethernet controller, and retrieving properties from the controller's I/O Registry entry. This sample code has been updated to include a project that produces a universal binary. No code changes were required for it to run correctly on the Developer Transition Systems. Document Revision History
|
|