代码如下: 代码如下://获得网卡序列号 public string GetMoAddress() { string MoAddress = ” “; ManagementClass mc = new ManagementClass(“Win32_NetworkAdapterConfiguration”); ManagementObjectCollection moc2 = mc.GetInstances(); foreach (ManagementObject mo in moc2) {