/// <summary> /// 断开 /// </summary> public static async Task Deauthenticate() { NetworkCheck.StopCheck(); await HeartBeatProxy.Kill(); PPPoE.Hangup(); }
/// <summary> /// 认证 /// </summary> public static void Authenticate() { string username = "******" + DialerConfig.username; string password = DialerConfig.password; PPPoE.Dial(username, password); }