C-DEngine 5.105

ClientSslConfiguration..::..ServerCertificateValidationCallback Property

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

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; }
Public Property ServerCertificateValidationCallback As RemoteCertificateValidationCallback
	Get
	Set
public:
property RemoteCertificateValidationCallback^ ServerCertificateValidationCallback {
	RemoteCertificateValidationCallback^ get ();
	void set (RemoteCertificateValidationCallback^ value);
}

Field Value

A [RemoteCertificateValidationCallback] delegate that references the method used to validate the server certificate. The default value is a function that only returns true.

Remarks


If this callback returns true, the server certificate will be valid.