Files
Dec2017-Script-Dump/System/Net/Security/RemoteCertificateValidationCallback.cs
2026-06-04 11:42:34 +02:00

16 lines
1.0 KiB
C#

using System;
using System.Security.Cryptography.X509Certificates;
namespace System.Net.Security
{
/// <summary>Verifies the remote Secure Sockets Layer (SSL) certificate used for authentication.</summary>
/// <returns>A <see cref="T:System.Boolean" /> value that determines whether the specified certificate is accepted for authentication.</returns>
/// <param name="sender">An object that contains state information for this validation.</param>
/// <param name="certificate">The certificate used to authenticate the remote party.</param>
/// <param name="chain">The chain of certificate authorities associated with the remote certificate.</param>
/// <param name="sslPolicyErrors">One or more errors associated with the remote certificate.</param>
// Token: 0x02000332 RID: 818
// (Invoke) Token: 0x06001CA1 RID: 7329
public delegate bool RemoteCertificateValidationCallback(object sender, X509Certificate certificate, global::System.Security.Cryptography.X509Certificates.X509Chain chain, SslPolicyErrors sslPolicyErrors);
}