This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
using System;
using System.Security.Cryptography.X509Certificates;
namespace System.Net
{
// Token: 0x0200020E RID: 526
internal class DefaultCertificatePolicy : ICertificatePolicy
{
// Token: 0x060011E6 RID: 4582 RVA: 0x00035358 File Offset: 0x00033558
public bool CheckValidationResult(ServicePoint point, X509Certificate certificate, WebRequest request, int certificateProblem)
{
return ServicePointManager.ServerCertificateValidationCallback != null || certificateProblem == -2146762495 || certificateProblem == 0;
}
}
}