Export (0) Print
Expand All

X509CertificateCollection.X509CertificateEnumerator.Current Property

Gets the current X509Certificate in the X509CertificateCollection.

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

public X509Certificate Current { get; }


The enumerator is positioned before the first element of the collection or after the last element.

X509CertificateCollection.X509CertificateEnumerator does not move the position of the enumerator. Consecutive calls to the Current property return the same object until either the MoveNext or Reset method is called.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft