From b35c9d69783680fe9e1bf6c88dd28afa7cb114b1 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Mon, 26 Dec 2022 15:02:45 +0300 Subject: [PATCH] Remove old tls settings --- src/AddIn/RhSolutionsAddIn.cs | 4 +--- src/RhSolutions.csproj | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/AddIn/RhSolutionsAddIn.cs b/src/AddIn/RhSolutionsAddIn.cs index 0e51bec..a4c6019 100644 --- a/src/AddIn/RhSolutionsAddIn.cs +++ b/src/AddIn/RhSolutionsAddIn.cs @@ -21,9 +21,7 @@ namespace RhSolutions.AddIn EventsUtil.Initialize(); ServicePointManager.SecurityProtocol = - SecurityProtocolType.Tls12 | - SecurityProtocolType.Tls11 | - SecurityProtocolType.Tls; + SecurityProtocolType.Tls12; } public void AutoClose() diff --git a/src/RhSolutions.csproj b/src/RhSolutions.csproj index c46d489..9d07f05 100644 --- a/src/RhSolutions.csproj +++ b/src/RhSolutions.csproj @@ -34,6 +34,9 @@ prompt 4 + + + ..\packages\ExcelDna.Integration.1.6.0\lib\net452\ExcelDna.Integration.dll