mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Security Protocol Changes
- updated the security protocols to use TLS12 and TLS13.
This commit is contained in:
parent
3731ad6655
commit
e017c679b9
9 changed files with 78 additions and 9 deletions
|
|
@ -98,6 +98,7 @@ namespace ServerManagerTool
|
|||
Title = string.Empty;
|
||||
Version = AppUtils.GetDeployedVersion(Assembly.GetEntryAssembly());
|
||||
|
||||
ServicePointManager.SecurityProtocol = SecurityUtils.GetSecurityProtocol(0xC00 + 0x3000); // TLS12, TLS13
|
||||
AppDomain.CurrentDomain.UnhandledException += ErrorHandling.CurrentDomain_UnhandledException;
|
||||
|
||||
MigrateSettings();
|
||||
|
|
@ -324,8 +325,6 @@ namespace ServerManagerTool
|
|||
{
|
||||
base.OnStartup(e);
|
||||
|
||||
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
|
||||
|
||||
_globalizer = GlobalizedApplication.Instance;
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue