获取MAC地址

private String getMACAddress() throws Exception { InetAddress ia = InetAddress.getLocalHost(); byte[] mac = NetworkInterface.getByInetAddress(ia).getHardwareAddress(); StringBu
相关文章
相关标签/搜索