diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2022-12-26 15:02:45 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2022-12-26 15:02:45 +0300 |
commit | b35c9d69783680fe9e1bf6c88dd28afa7cb114b1 (patch) | |
tree | b26f1fb33e2d62136f674ce19732c3bc48513704 /src | |
parent | 6ac7b98e592f2e24bd135538582dd6053ee1eb64 (diff) |
Remove old tls settings
Diffstat (limited to 'src')
-rw-r--r-- | src/AddIn/RhSolutionsAddIn.cs | 4 | ||||
-rw-r--r-- | 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 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> + <PropertyGroup> + <StartupObject /> + </PropertyGroup> <ItemGroup> <Reference Include="ExcelDna.Integration, Version=1.1.0.0, Culture=neutral, PublicKeyToken=f225e9659857edbe, processorArchitecture=MSIL"> <HintPath>..\packages\ExcelDna.Integration.1.6.0\lib\net452\ExcelDna.Integration.dll</HintPath> |