Determine and set the .NET Framework TLS configuration

Reading time <1 Minute # Determine configuration [Net.ServicePointManager] :: SecurityProtocol # Set configuration individually [Net.ServicePointManager] :: SecurityProtocol = [Net.SecurityProtocolType] :: TLS [Net.ServicePointManager] :: SecurityProtocol = [Net.SecurityProtocolType] :: TLS11 [ Net.ServicePointManager] :: SecurityProtocol = [Net.SecurityProtocolType] :: TLS12 # configuration all in one [System.Net.ServicePointManager] :: SecurityProtocol = [System.Net.SecurityProtocolType] :: Tls, [System.Net.SecurityProtocolType] :: Tls11, [System.Net.SecurityProtocolType] :: Tls12

Read more