WebRequestHandler.ServerCertificateValidationCallback Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.