Oid.FromFriendlyName Method

.NET Framework 4.6 and 4.5

Creates an Oid object from an OID friendly name by searching the specified group.

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

public static Oid FromFriendlyName(
	string friendlyName,
	OidGroup group
)

Parameters

friendlyName
Type: System.String

The friendly name of the identifier.

group
Type: System.Security.Cryptography.OidGroup

The group to search in.

Return Value

Type: System.Security.Cryptography.Oid
An object that represents the specified OID.

ExceptionCondition
ArgumentNullException

friendlyName is null.

CryptographicException

The OID was not found.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft