2020
10-30
10-30
C# 操作网络适配器的示例
1、对网络适配器进行配置stringethernetIP=System.Configuration.ConfigurationManager.AppSettings["LocalEthernetIP"].Trim().ToString();stringethernetSubnetMask=System.Configuration.ConfigurationManager.AppSettings["LocalEthernetSubnetMask"].Trim().ToString();stringethernetGateway=System.Configuration.ConfigurationManager.AppSettings["LocalEthernetGateway"].Trim().ToString();stringethernetDNS...
继续阅读 >