private void OnVpnProtocolChanged(object sender, VpnProtocolChangedEventArgs e) { if (!BlockedApiHandlerProtocolPreferencesChangeObserver.IsObfuscatedProtocol(e.get_Protocol()) || !this._isPreviousProtocolObfuscated) { this._blockedApiHandler.ReverseUrls(); } this._isPreviousProtocolObfuscated = BlockedApiHandlerProtocolPreferencesChangeObserver.IsObfuscatedProtocol(e.get_Protocol()); }
private void OnVpnProtocolChanged(object sender, VpnProtocolChangedEventArgs e) { this._settings.OvpnProtocol = this.GetVpnProtocol(e.get_Protocol()); }