Bewerken

Share via


ClientWebSocketOptions.RemoteCertificateValidationCallback Property

Definition

Gets or sets the callback to validate a server certificate.

public:
 property System::Net::Security::RemoteCertificateValidationCallback ^ RemoteCertificateValidationCallback { System::Net::Security::RemoteCertificateValidationCallback ^ get(); void set(System::Net::Security::RemoteCertificateValidationCallback ^ value); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Net.Security.RemoteCertificateValidationCallback? RemoteCertificateValidationCallback { get; set; }
public System.Net.Security.RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get; set; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.RemoteCertificateValidationCallback : System.Net.Security.RemoteCertificateValidationCallback with get, set
member this.RemoteCertificateValidationCallback : System.Net.Security.RemoteCertificateValidationCallback with get, set
Public Property RemoteCertificateValidationCallback As RemoteCertificateValidationCallback

Property Value

A callback function to validate the server certificate.

Attributes

Applies to