Fix TLS config for update

#50
This commit is contained in:
Ben Olden-Cooligan 2023-01-14 09:35:42 -08:00
parent 3df38f0e90
commit 273319dd63

View File

@ -25,7 +25,7 @@ public class UpdateOperation : OperationBase
try
{
const int tls13 = 12288;
ServicePointManager.SecurityProtocol = (SecurityProtocolType) tls13;
ServicePointManager.SecurityProtocol = (SecurityProtocolType) tls13 | SecurityProtocolType.Tls12;
}
catch (NotSupportedException)
{