From 166f691d3a3ee4a383b5576be8bd817c5c45907f Mon Sep 17 00:00:00 2001 From: morkt Date: Mon, 28 Jan 2019 19:16:39 +0400 Subject: [PATCH] (GarUpdate): set SecurityProtocol property. --- GUI/GarUpdate.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/GUI/GarUpdate.cs b/GUI/GarUpdate.cs index ed678e2e..8fd84359 100644 --- a/GUI/GarUpdate.cs +++ b/GUI/GarUpdate.cs @@ -44,6 +44,7 @@ namespace GARbro.GUI private void InitUpdatesChecker () { + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; var update_url = App.Resources["UpdateUrl"] as Uri; m_updater = new GarUpdate (this, update_url); m_updater.CanExecuteChanged += (s, e) => CommandManager.InvalidateRequerySuggested();