how to find MAC address in MAC OS X programmatically?

前端 未结 2 1378
故里飘歌
故里飘歌 2020-12-17 05:16

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.

相关标签:
2条回答
  • 2020-12-17 05:52

    See: How can I programmatically get the MAC address of an iphone. Should work (although originally asked for iPhone).

    0 讨论(0)
  • 2020-12-17 06:15

    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.

    0 讨论(0)
提交回复
热议问题