c#宽带拨号
直接上代码 using System; using System.Diagnostics; using System.IO; using System.Net; using System.Net.NetworkInformation; using System.Text; using System.Threading; namespace soe_client { /// <summary> /// ADSL拨号帮助类 用批处理实现 /// </summary> public class ADSLIP { #region 变量 /// <summary> ///生成的临时批处理文件名称 /// </summary> static String _temppath = "temp.bat"; public static String temppath { get { return ADSLIP._temppath; } set { ADSLIP._temppath = value; } } /// <summary> /// 字符串拼接用 /// </summary> private static StringBuilder sb = new StringBuilder(); /// <summary> /// 拨号等待 默认15秒 /// </summary> public