c# 获取Ip网关方法2
摘要:
要加入mengment的引用在.net框架中。主要代码: ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); ManagementObjectCollection nics = mc.GetInstances(); foreach (ManagementObject nic in nics... 阅读全文
posted @ 2010-08-22 21:04 代码苦行僧 阅读(384) 评论(0) 推荐(0) 编辑