Oid.FromOidValue(String, OidGroup) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an Oid object by using the specified OID value and group.
public:
static System::Security::Cryptography::Oid ^ FromOidValue(System::String ^ oidValue, System::Security::Cryptography::OidGroup group);
public static System.Security.Cryptography.Oid FromOidValue (string oidValue, System.Security.Cryptography.OidGroup group);
static member FromOidValue : string * System.Security.Cryptography.OidGroup -> System.Security.Cryptography.Oid
Public Shared Function FromOidValue (oidValue As String, group As OidGroup) As Oid
Parameters
- oidValue
- String
The OID value.
- group
- OidGroup
The group to search in.
Returns
A new instance of an Oid object.
Exceptions
oidValue
is null
.
The friendly name for the OID value was not found.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.