X509ExtensionCollection.Item Property (String)


Gets the first X509Extension object whose value or friendly name is specified by an object identifier (OID).

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

public X509Extension this[
	string oid
] { get; }


Type: System.String

The object identifier (OID) of the extension to retrieve.

Use this property to get information about an X509Extension object when you know the object identifier (OID) of the extension in the X509ExtensionCollection object.

.NET Framework
Available since 2.0
Return to top