Click or drag to resize

ClientSslConfigurationServerCertificateValidationCallback Property

Gets or sets the callback used to validate the certificate supplied by the server.

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; }

Property Value

Type: RemoteCertificateValidationCallback

A RemoteCertificateValidationCallback delegate that invokes the method called for validating the certificate.

The default value is a delegate that invokes a method that only returns true.

Remarks
The certificate is valid if the callback returns true.
See Also