System.Net.HttpClient.IHTTPRequest.SetClientCertificate
Delphi
procedure SetClientCertificate(const Value: TStream; const Password: string); overload;
procedure SetClientCertificate(const Path: string; const Password: string); overload;
C++
virtual void __fastcall SetClientCertificate(System::Classes::TStream* const Value, const System::UnicodeString Password) = 0 /* overload */;
virtual void __fastcall SetClientCertificate(const System::UnicodeString Path, const System::UnicodeString Password) = 0 /* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Net.HttpClient.pas System.Net.HTTPClient.hpp |
System.Net.HttpClient | IHTTPRequest |
Description
Sets a client certificate to use with the request.
The accepted parameters are:
Value
: The certificate.Password
: The password of the provided certificate.
Platform Support
This method is only available on iOS.