Skip to content

Commit

Permalink
Merge pull request #19 from hinaloe/fix/tls12
Browse files Browse the repository at this point in the history
[hotfix] support TLS 1.2
  • Loading branch information
hinaloe authored Sep 2, 2019
2 parents a770c15 + 4aba591 commit 646d2a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TwVideoUp/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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();

Expand Down

0 comments on commit 646d2a8

Please sign in to comment.