mirror of
https://github.com/cyanfish/naps2.git
synced 2024-10-05 20:07:42 +03:00
parent
3df38f0e90
commit
273319dd63
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user