获取mac地址和ip http://www.cnblogs.com/Amandaliu/archive/2011/11/06/2238177.html 读文件的方式取mac地址 http://www.2cto.com/kf/201208/148820.html