I am new to Mac OS X and X code and want to know how to find the MAC address of a machine programmatically in OS X.
See: How can I programmatically get the MAC address of an iphone. Should work (although originally asked for iPhone).
There's a sample from the Mac OS X Reference Library that gets the MAC address of the primary, built-in interface from the I/O Registry. It also includes an Xcode project.