/// <summary> /// 获取mac地址 /// </summary> /// <returns></returns> private string GetMac() { string MAC = ""; ManagementClass MC = new ManagementClass("Win32_NetworkAdapterConfiguration"); ManagementObjectCollection MOC = MC.GetInstances(); foreach (Manageme Read More