Datasnap.DSHTTPClient.TDSHTTP.OnValidateCertificate
Delphi
property OnValidateCertificate: TValidateCertificateEvent read FOnValidateCertificate write FOnValidateCertificate;
C++
__property System::Net::Urlclient::TValidateCertificateEvent OnValidateCertificate = {read=FOnValidateCertificate, write=FOnValidateCertificate};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | public | Datasnap.DSHTTPClient.pas Datasnap.DSHTTPClient.hpp |
Datasnap.DSHTTPClient | TDSHTTP |
Description
Occurs when the SSL certificate is about to be validated.
The event handler of OnValidateCertificate receives the following parameters:
Sender: Object that invokes the event.ARequest: Client request that invokes the event.Certificate: Certificates to validate.Accepted:Trueif the certificate is valid,Falseotherwise.