From 4aba591158017604b0fc3fdc7b5f852e70801eeb Mon Sep 17 00:00:00 2001 From: hinaloe Date: Tue, 3 Sep 2019 08:11:21 +0900 Subject: [PATCH] [hotfix] support TLS 1.2 --- TwVideoUp/App.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TwVideoUp/App.xaml.cs b/TwVideoUp/App.xaml.cs index 31ede59..2077769 100644 --- a/TwVideoUp/App.xaml.cs +++ b/TwVideoUp/App.xaml.cs @@ -9,6 +9,7 @@ using System; using System.Diagnostics; using System.IO; +using System.Net; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; @@ -32,6 +33,7 @@ private void App_OnStartup(object sender, StartupEventArgs e) DispatcherUnhandledException += App_DisatacherUnhandledException; AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; var window = new MainWindow();