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, 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. |
| SslPolicyErrors | sslPolicyErrors | The SSL policy errors. |
Returns
| Type | Description |
|---|---|
| System.Boolean |