标签:
NetworkInterface[] netWorks = NetworkInterface.GetAllNetworkInterfaces(); foreach (NetworkInterface netWork in netWorks) { if (netWork.Name=="本地连接") { MessageBox.Show(netWork.GetPhysicalAddress().ToString()); } }
标签:
原文地址:http://www.cnblogs.com/xinzheng/p/4523666.html