Oid.FromFriendlyName(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 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
An object that represents the specified OID.
Exceptions
friendlyName
is null
.
The OID 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.