Dela via


CertificateChain.GetCertificates(Boolean) Method

Definition

Gets the list of certificates from the certificate chain.

public:
 virtual IVectorView<Certificate ^> ^ GetCertificates(bool includeRoot) = GetCertificates;
IVectorView<Certificate> GetCertificates(bool const& includeRoot);
public IReadOnlyList<Certificate> GetCertificates(bool includeRoot);
function getCertificates(includeRoot)
Public Function GetCertificates (includeRoot As Boolean) As IReadOnlyList(Of Certificate)

Parameters

includeRoot
Boolean

bool

True to include the root certificate in the results; otherwise false.

Returns

The list of certificates from the certificate chain.

Applies to