C#获得MAC地址(网卡序列号)代码
摘要:
代码如下: 1 //获得网卡序列号 2 //MAc地址 http://www.cnblogs.com/sosoft/ 3 public string GetMoAddress() 4 { 5 string MoAddress = " "; 6 ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); 7 ManagementObjectCollection moc2 = mc.GetInstances(); 8 fo... 阅读全文
posted @ 2014-02-13 09:27 柔城 阅读(811) 评论(0) 推荐(1) 编辑