public void OnUpdateIps() { if (m_current != null) { try { m_current.OnUpdateIps(); Recovery.Save(); } catch (Exception e) { Engine.Instance.Log(e); } } }
public virtual void OnVpnDisconnected() { if (m_current != null) { try { m_current.OnVpnDisconnected(); Recovery.Save(); } catch (Exception e) { Engine.Instance.Log(e); } } }
public virtual bool OnRouteDefaultRemoveDo() { List <RouteEntry> routeEntries = RouteList(); foreach (RouteEntry routeEntry in routeEntries) { if (routeEntry.Mask.ToString() == "0.0.0.0") { m_routeDefaultRemove = routeEntry; routeEntry.Remove(); Recovery.Save(); } } return(true); }