摘要:部分代码来自网络,自己收集整理写出来的这个小程序可以对本地IP地址的设置,源码公开!因为IP设置程序程序需要使用到WMI,因此首先添加对WMI的引用,打开【解决方案资源管理器】,在【引用】项上单击右键,并选择【添加引用】菜单项,有需要的可以拿用,程序界面如图:这里用到一类MaskedTextBox控件,具体使用大家可以百度一下,这里便不多说。源代码如下: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using Sy...
阅读全文
09 2012 档案
摘要:花了一天,随便写的个小程序,源码公开,有需要的可以 拿去。我写这个程序的本意是可以ping有固定IP的圈存机,如何网络不通会自己返回其相应的位置。程序说明,程序可以自动ping预先写入的一组IP地址,也可以手动ping输入的ip.代码如下: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 8...
阅读全文

浙公网安备 33010602011771号