Default SecurityProtocol in .NET 4.5

前端 未结 17 1905
一生所求
一生所求 2020-11-22 03:24

What is the default security protocol for communicating with servers that support up to TLS 1.2? Will .NET by default, choose the highest security

17条回答
  •  闹比i
    闹比i (楼主)
    2020-11-22 04:13

    The registry change mechanism worked for me after a struggle. Actually my application was running as 32bit. So I had to change the value under path.

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework\v4.0.30319
    

    The value type needs to be DWORD and value above 0 .Better use 1.Registry settings to get .Net 4.0 app use TLS 1.2 provided .Net 4.5 is installed in the machine.

提交回复
热议问题