Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CertificateStores class

[ Updated for UWP apps on Windows 10. For Windows 8.x articles, see the archive ]

Represents a collection of certificate stores.

Syntax


public ref class CertificateStores abstract sealed 

Members

The CertificateStores class has these types of members:

Methods

The CertificateStores class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
FindAllAsync Get all certificates from the certificate stores.
FindAllAsync(CertificateQuery) Get all certificates from the certificate stores that match the specified query parameters.
GetStoreByName Gets a certificate store from the collection of certificate stores by name.

 

Properties

The CertificateStores class has these properties.

PropertyAccess typeDescription

IntermediateCertificationAuthorities

Read-onlyGets the certificate store of intermediate certification authorities for an app.

TrustedRootCertificationAuthorities

Read-onlyGets the certificate store of trusted root certificates for an app.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

See also

Object

 

 

Show:
© 2016 Microsoft