The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
HttpWebRequest::ServerCertificateValidationCallback Property
.NET Framework (current version)
Gets or sets a callback function to validate the server certificate.
Assembly: System (in System.dll)
public: property RemoteCertificateValidationCallback^ ServerCertificateValidationCallback { RemoteCertificateValidationCallback^ get(); void set(RemoteCertificateValidationCallback^ value); }
Property Value
Type: System.Net.Security::RemoteCertificateValidationCallback^A callback function to validate the server certificate.
A callback function to validate the server certificate.
The default is that no callback function is set and the ServerCertificateValidationCallback property is null.
.NET Framework
Available since 4.5
Available since 4.5
Show: