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();