Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Oid::FromFriendlyName Method (String^, OidGroup)

.NET Framework (current version)
 

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.

Exception Condition
ArgumentNullException

friendlyName is null.

CryptographicException

The OID was not found.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft