Bewerken

Delen via


Oid.FromFriendlyName(String, OidGroup) Method

Definition

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

public:
 static System::Security::Cryptography::Oid ^ FromFriendlyName(System::String ^ friendlyName, System::Security::Cryptography::OidGroup group);
public static System.Security.Cryptography.Oid FromFriendlyName (string friendlyName, System.Security.Cryptography.OidGroup group);
static member FromFriendlyName : string * System.Security.Cryptography.OidGroup -> System.Security.Cryptography.Oid
Public Shared Function FromFriendlyName (friendlyName As String, group As OidGroup) As Oid

Parameters

friendlyName
String

The friendly name of the identifier.

group
OidGroup

The group to search in.

Returns

Oid

An object that represents the specified OID.

Exceptions

friendlyName is null.

The OID was not found.

Applies to