From 2a1dff48c6b5faeda7e4d3e5f4425f7c11690c3e Mon Sep 17 00:00:00 2001 From: TechieGuy12 Date: Tue, 6 Oct 2020 22:07:51 -0400 Subject: [PATCH] Fix for issue #42 --- Properties/AssemblyInfo.cs | 4 ++-- TE.Plex.Update/classes/LatestAvailableVersion.cs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index cc5b0fa..40f6c54 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -24,6 +24,6 @@ // // You can specify all the values or you can use the default the Revision and // Build Numbers by using the '*' as shown below: -[assembly: AssemblyVersion("0.1.9.0")] -[assembly: AssemblyFileVersion("0.1.9.0")] +[assembly: AssemblyVersion("0.1.9.1")] +[assembly: AssemblyFileVersion("0.1.9.1")] diff --git a/TE.Plex.Update/classes/LatestAvailableVersion.cs b/TE.Plex.Update/classes/LatestAvailableVersion.cs index 77fcf27..c03bc1a 100644 --- a/TE.Plex.Update/classes/LatestAvailableVersion.cs +++ b/TE.Plex.Update/classes/LatestAvailableVersion.cs @@ -355,6 +355,7 @@ private string GetPlexPackageJson() return null; } + System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12; using (HttpResponseMessage response = _client.GetAsync(url).Result) { content = response.Content.ReadAsStringAsync().Result;