MySqlConnection.RemoteCertificateValidationCallback property
Gets or sets the delegate used to verify that the server’s certificate is valid.
public RemoteCertificateValidationCallback? RemoteCertificateValidationCallback { get; set; }
Remarks
SslMode
must be set to Preferred or Required in order for this delegate to be invoked. See the documentation for RemoteCertificateValidationCallback
for more information on the values passed to this delegate.
See Also
- class MySqlConnection
- namespace MySqlConnector
- assembly MySqlConnector