Gavin.han

致力于移动开发 技术改变生活

导航

2013年7月12日

摘要: 这是获取网卡的硬件地址的代码,如果无法编译通过,记得把下面的这几个头文件加上把。#include // Per msqr#include #include #include #pragma mark MAC addy// Return the local MAC addy// Courtesy of FreeBSD hackers email list// Accidentally munged during previous update. Fixed thanks to mlamb.- (NSString *) macaddress{intmib[6];size_tlen;char*bu. 阅读全文

posted @ 2013-07-12 10:54 gavin.han 阅读(15435) 评论(0) 推荐(1) 编辑