This documentation is archived and is not being maintained.

CryptoConfig.MapNameToOID Method

Gets the object identifier (OID) of the algorithm corresponding to the specified simple name.

[Visual Basic]
Public Shared Function MapNameToOID( _
   ByVal name As String _
) As String
[C#]
public static string MapNameToOID(
 string name
);
[C++]
public: static String* MapNameToOID(
 String* name
);
[JScript]
public static function MapNameToOID(
   name : String
) : String;

Parameters

name
The simple name of the algorithm for which to get the OID.

Return Value

The OID of the specified algorithm.

Exceptions

Exception Type Condition
ArgumentNullException The name parameter is a null reference (Nothing in Visual Basic).

Remarks

For a list of simple names recognized by this class, see CryptoConfig.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CryptoConfig Class | CryptoConfig Members | System.Security.Cryptography Namespace | Cryptographic Services

Show: