PTMagic/Core/Helper/CertificateHelper.cs

22 lines
497 B
C#
Raw Permalink Normal View History

2018-05-22 10:11:50 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Core.Helper
{
public static class CertificateHelper
{
2018-05-22 10:11:50 +02:00
public static bool AllwaysGoodCertificate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors policyErrors)
{
2018-05-22 10:11:50 +02:00
return true;
}
}
}