Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft