API:Datasnap.DSHTTPClient.TDSHTTPS.HasPeerCertificate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function HasPeerCertificate: Boolean; override;

C++

__classmethod virtual bool __fastcall HasPeerCertificate();

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DSHTTPClient.pas
Datasnap.DSHTTPClient.hpp
Datasnap.DSHTTPClient TDSHTTPS

Description

Returns whether the session has a peer certificate.

Datasnap.DSHTTPClient.TDSHTTPS.HasPeerCertificate inherits from Datasnap.DSHTTPClient.TDSHTTP.HasPeerCertificate. All content below this line refers to Datasnap.DSHTTPClient.TDSHTTP.HasPeerCertificate.

Returns whether the session has a peer certificate.

For HTTP sessions, HasPeerCertificate returns False, while for HTTPS sessions, HasPeerCertificate returns True.

See Also