🙂 İNSANLARIN EN HAYIRLISI INSANLARA FAYDALI OLANDIR 🙂

Ramazan HABER / C# RMOS / ServicePointManager SecurityProtocol SecurityProtocolType Clear Default Varsayılana geri getirme

1-) C# RMOS - ServicePointManager SecurityProtocol SecurityProtocolType Clear Default Varsayılana geri getirme

 

 

ServicePointManager.Expect100Continue = true;

ServicePointManager.SecurityProtocol = (SecurityProtocolType)0; // varsayılan demek

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;// güvenlikli demek

 

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Ssl3 // hepsi gibi

 

 

// açıklama tersine çevirmek içim |

 

 

AŞAĞIDAKİ HATAYI GİDERME

 

 

 

Native SChannel implementation on Windows 10 and Windows 10 Server version 1903 (May 2019 Update) and newer supports TLS 1.3.

This is how you can enable it using registry for the client:

 

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client]

"DisabledByDefault"=dword:00000000

"Enabled"=dword:00000001

 

 

 

This is how you can enable it using registry for the server:

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server]

"DisabledByDefault"=dword:00000000

"Enabled"=dword:00000001

 

 

 2023 Mart 28 Salı
 236