संपादित करें

इसके माध्यम से साझा किया गया


WebRequestHandler.ServerCertificateValidationCallback Property

Definition

Gets or sets a callback method to validate the server certificate.

public:
 property System::Net::Security::RemoteCertificateValidationCallback ^ ServerCertificateValidationCallback { System::Net::Security::RemoteCertificateValidationCallback ^ get(); void set(System::Net::Security::RemoteCertificateValidationCallback ^ value); };
public System.Net.Security.RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; }
member this.ServerCertificateValidationCallback : System.Net.Security.RemoteCertificateValidationCallback with get, set
Public Property ServerCertificateValidationCallback As RemoteCertificateValidationCallback

Property Value

A callback method to validate the server certificate.

Remarks

If the ServerCertificateValidationCallback is null, the server certificate will be validated using standard well-known certificate authorities.

Applies to