How to find the MAC address in MAC OS X programmatically?

I am new to Mac OS X and X code and want to know how to programmatically find the MAC address of a machine in OS X.

+3
source share
2 answers

There is a sample from the Mac OS X help library that gets the MAC address of the main embedded interface from the I / O Registry. It also includes an Xcode project.

+4
source

See: How can I programmatically get the iphone MAC address . Should work (although iPhone was originally requested).

+1
source

Source: https://habr.com/ru/post/1656744/


All Articles