Oid::FromOidValue Method (String^, OidGroup)

.NET Framework (current version)
 

Creates an Oid object by using the specified OID value and group.

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

public:
static Oid^ FromOidValue(
	String^ oidValue,
	OidGroup group
)

Parameters

oidValue
Type: System::String^

The OID value.

group
Type: System.Security.Cryptography::OidGroup

The group to search in.

Return Value

Type: System.Security.Cryptography::Oid^

A new instance of an Oid object.

Exception Condition
ArgumentNullException

oidValue is null.

CryptographicException

The friendly name for the OID value was not found.

.NET Framework
Available since 4.5
Return to top
Show: