Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CertificateStores Class

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.

Represents a collection of certificate stores.

public ref class CertificateStores abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CertificateStores final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class CertificateStores
Public Class CertificateStores
Inheritance
Object Platform::Object IInspectable CertificateStores
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Version history

Windows version SDK version Value added
1607 14393 GetUserStoreByName

Properties

Name Description
IntermediateCertificationAuthorities

Gets the certificate store of intermediate certification authorities for an app.

TrustedRootCertificationAuthorities

Gets the certificate store of trusted root certificates for an app.

Methods

Name Description
FindAllAsync()

Get all certificates from the certificate stores.

FindAllAsync(CertificateQuery)

Get all certificates from the certificate stores that match the specified query parameters.

GetStoreByName(String)

Gets a certificate store from the collection of certificate stores by name.

GetUserStoreByName(String)

Gets a user certificate store from the collection of certificate stores by name.

Applies to

See also


Feedback

Was this page helpful?