CertificateChain.GetCertificates(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.