会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Mavin Huang
博客园
首页
新随笔
联系
管理
订阅
2010年5月20日
获取mac地址的三种方法【转】
摘要: 方法一:调用Windows的DOS命令,从输出结果中读取MAC地址:public static String getMACAddress() { String address = "";String os = System.getProperty("os.name");if ( os != null && os.startsWith("Windows")) { try { Stri...
阅读全文
posted @ 2010-05-20 09:58 Mavin
阅读(784)
评论(0)
推荐(1)
编辑
公告