X509Store.Certificates Property

Returns a collection of certificates located in an X.509 certificate store.

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System.Security (in system.security.dll)

Syntax

public X509Certificate2Collection Certificates { get; }

Property Value

A collection of certificates.

Remarks

This property returns a snapshot of the X.509 certificate store. Note that subsequent Add or Remove operations performed on the store will not have any effect on the collection that was returned. This snapshot is recalculated each time the property is called, so the use of this property inside an iterative function is not recommended.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

X509Store Class
X509Store Members
System.Security.Cryptography.X509Certificates Namespace