diff --git a/PostScriptumMortarCalculator/Services/UpdateService.cs b/PostScriptumMortarCalculator/Services/UpdateService.cs index 9d86f04..a722991 100644 --- a/PostScriptumMortarCalculator/Services/UpdateService.cs +++ b/PostScriptumMortarCalculator/Services/UpdateService.cs @@ -1,6 +1,7 @@ #if (!DEBUG) using System.Reflection; #endif +using System.Net; using System.Threading.Tasks; using Octokit; @@ -17,6 +18,7 @@ public class UpdateService public UpdateService() { m_client = new GitHubClient(new ProductHeaderValue("PostScriptumMortarCalculator")); + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13; } public async Task CheckForUpdate()