我可以用ip = InetAddress.getLocalHost();NetworkInterface.getByInetAddress(ip);獲取mac地址,但是如果我在脫機(jī)計(jì)算機(jī)中使用此代碼,它將無法正常工作。那么,如何獲得Mac地址? 查看完整描述