Added NightAlert project for travel kit

This commit is contained in:
2021-06-10 14:39:06 -04:00
commit d38d9e3b7e
308 changed files with 35922 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System.Net;
namespace Quobject.EngineIoClientDotNet.Modules
{
public class ServerCertificate
{
public static bool Ignore { get; set; }
static ServerCertificate()
{
Ignore = false;
}
public static void IgnoreServerCertificateValidation()
{
ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;
Ignore = true;
}
}
}