public void Remove() { if (!_ips.Any()) { return; } _logger.Info("SplitTunnel: Removing routes"); foreach (var ip in _ips) { EnsureSucceeded(() => NetworkUtil.DeleteRoute(ip), "Removing route"); } _ips.Clear(); }
public void Remove() { if (!_ips.Any()) { return; } _logger.Info("SplitTunnel: Removing routes"); foreach (var ip in _ips) { EnsureSucceeded(() => NetworkUtil.DeleteRoute(ip), "Removing route"); } _ips.Clear(); }