X509CertificateCollection.X509CertificateEnumerator.Current Property

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

public X509Certificate Current { get; }

Exception Condition

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
Available since 1.1
Return to top