摘要: 1、对网络适配器进行配置 string ethernetIP = System.Configuration.ConfigurationManager.AppSettings["LocalEthernetIP"].Trim().ToString(); string ethernetSubnetMask 阅读全文
posted @ 2020-05-28 10:07 一只独行的猿 阅读(2184) 评论(0) 推荐(0) 编辑
摘要: //创建一个进程 Process p = new Process(); p.StartInfo.FileName = "cmd.exe"; p.StartInfo.UseShellExecute = false;//是否使用操作系统shell启动 p.StartInfo.RedirectStanda 阅读全文
posted @ 2020-05-28 09:54 一只独行的猿 阅读(1607) 评论(0) 推荐(0) 编辑