Skip to content

Commit

Permalink
Fix the update checker by adding TLS 1.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
bruhov authored Feb 23, 2018
1 parent 3ea9f68 commit 9881861
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WinThumbsPreloader/WinThumbsPreloader/AboutForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ private async void CheckForUpdates()
{
try
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
using (WebClient client = new WebClient())
{
client.Headers.Add("User-Agent", "WinThumbPreloader");
Expand Down

0 comments on commit 9881861

Please sign in to comment.