Delegate TcpSocket.ClientSslValidateServerCertificateDelegate
Validates an SSL server certificate as a client.
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public delegate bool ClientSslValidateServerCertificateDelegate(object sender, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Cryptography.X509Certificates.X509Chain chain, System.Net.Security.SslPolicyErrors sslPolicyErrors);
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
System.Security.Cryptography.X509Certificates.X509Certificate | certificate | The server certificate. |
System.Security.Cryptography.X509Certificates.X509Chain | chain | The server chain. |
System.Net.Security.SslPolicyErrors | sslPolicyErrors | The SSL policy errors. |
Returns
Type | Description |
---|---|
System.Boolean |