fixed build settings for .NET 4.5.2

This commit is contained in:
hbeham
2019-02-05 20:03:47 +01:00
parent 98acb03b52
commit e73cc381f7
4 changed files with 13 additions and 7 deletions

View File

@@ -34,7 +34,6 @@ namespace ChanSort.Ui
{
string response;
var oldCallback = ServicePointManager.ServerCertificateValidationCallback;
var oldProtocol = ServicePointManager.SecurityProtocol;
try
{
@@ -49,7 +48,6 @@ namespace ChanSort.Ui
}
finally
{
//ServicePointManager.ServerCertificateValidationCallback = oldCallback;
ServicePointManager.SecurityProtocol = oldProtocol;
}