System.Net.HttpClient.THTTPRequest.SetClientCertificate
Delphi
procedure SetClientCertificate(const Value: TStream; const Password: string); overload;
procedure SetClientCertificate(const Path: string; const Password: string); overload;
C++
void __fastcall SetClientCertificate(System::Classes::TStream* const Value, const System::UnicodeString Password)/* overload */;
void __fastcall SetClientCertificate(const System::UnicodeString Path, const System::UnicodeString Password)/* overload */;
Inhaltsverzeichnis
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
procedure function |
protected | System.Net.HttpClient.pas System.Net.HTTPClient.hpp |
System.Net.HttpClient | THTTPRequest |
Beschreibung
Legt ein Client-Zertifikat für diese Anforderung fest.
Die folgenden Parameter werden akzeptiert:
Value: Das Zertifikat.Password: Das Passwort für das bereitgestellte Zertifikat.
Plattformunterstützung
Diese Methode ist nur unter iOS verfügbar.