Skip to content

Commit

Permalink
Fix SSL/TLS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rex706 committed Nov 3, 2020
1 parent cb2cbc5 commit f4a6952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Updater/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public partial class MainWindow : Window
public MainWindow()
{
InitializeComponent();
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
this.Loaded += MainWindow_LoadedAsync;
}
Expand Down

0 comments on commit f4a6952

Please sign in to comment.