From 94e77eb820b8005167ecd23182ee652fde07f6ec Mon Sep 17 00:00:00 2001 From: Dan Garner Date: Tue, 8 Oct 2019 12:38:00 +0100 Subject: [PATCH 1/2] Enable TLS 1.2 as an option for all connections. #84 XFW-24 --- Forms/OptionForm.cs | 3 +++ MainForm.cs | 3 +++ XiboClient.csproj.user | 3 +-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Forms/OptionForm.cs b/Forms/OptionForm.cs index 10aa9dd4..8088392f 100644 --- a/Forms/OptionForm.cs +++ b/Forms/OptionForm.cs @@ -75,6 +75,9 @@ public OptionForm() // Appearance Tab splashOverride.Text = ApplicationSettings.Default.SplashOverride; + // Switch to TLS 2.1 + System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12; + Debug.WriteLine("Loaded Options Form", "OptionForm"); } diff --git a/MainForm.cs b/MainForm.cs index 60256bb3..dfdf3c91 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -241,6 +241,9 @@ private void InitializeXibo() // An empty set of overlay regions _overlays = new Collection(); + // Switch to TLS 2.1 + System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12; + Trace.WriteLine(new LogMessage("MainForm", "Client Initialised"), LogType.Info.ToString()); } diff --git a/XiboClient.csproj.user b/XiboClient.csproj.user index f47e3196..85302519 100644 --- a/XiboClient.csproj.user +++ b/XiboClient.csproj.user @@ -5,8 +5,7 @@ - - + o T:\Development\Version 2\Client\ From f3d3abd334e396e1a4d0801e91ca26308bd82fa3 Mon Sep 17 00:00:00 2001 From: Dan Garner Date: Wed, 10 Jun 2020 11:59:25 +0100 Subject: [PATCH 2/2] Bump Versions --- Logic/ApplicationSettings.cs | 4 ++-- Properties/AssemblyInfo.cs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Logic/ApplicationSettings.cs b/Logic/ApplicationSettings.cs index ba7f3240..4e65ba34 100644 --- a/Logic/ApplicationSettings.cs +++ b/Logic/ApplicationSettings.cs @@ -40,9 +40,9 @@ public class ApplicationSettings private List _globalProperties; // Application Specific Settings we want to protect - private string _clientVersion = "1.8.12"; + private string _clientVersion = "1.8.14"; private string _version = "5"; - private int _clientCodeVersion = 133; + private int _clientCodeVersion = 134; public string ClientVersion { get { return _clientVersion; } } public string Version { get { return _version; } } diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 9411133f..d4c974ac 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -11,7 +11,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Xibo Digital Signage")] [assembly: AssemblyProduct("Xibo")] -[assembly: AssemblyCopyright("Copyright Xibo Signage Ltd © 2008-2019")] +[assembly: AssemblyCopyright("Copyright Xibo Signage Ltd © 2008-2020")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -30,6 +30,6 @@ // Build Number // Revision // -[assembly: AssemblyVersion("10.8.12.0")] -[assembly: AssemblyFileVersion("10.8.12.0")] +[assembly: AssemblyVersion("10.8.14.0")] +[assembly: AssemblyFileVersion("10.8.14.0")] [assembly: NeutralResourcesLanguageAttribute("en-GB")]