Skip to content

Commit

Permalink
Fix SSL issue with checking for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxEG committed Aug 15, 2021
1 parent f48b429 commit af13474
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BSA Browser/BSABrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ private ArchiveNode SelectedArchiveNode
public BSABrowser()
{
InitializeComponent();

// Fix SSL issue with checking for updates, on Windows 7 at least
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// Set it here otherwise DPI scaling will not work correctly, for some reason
this.Menu = mainMenu1;

Expand Down

0 comments on commit af13474

Please sign in to comment.