The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CryptoConfig::EncodeOID Method (String^)
.NET Framework (current version)
Encodes the specified object identifier (OID).
Assembly: mscorlib (in mscorlib.dll)
Parameters
- str
-
Type:
System::String^
The OID to encode.
| Exception | Condition |
|---|---|
| ArgumentNullException | The str parameter is null. |
| CryptographicUnexpectedOperationException | An error occurred while encoding the OID. |
The following code example demonstrates how to call the EncodeOID method to encode the specified object identifier. This code example is part of a larger example provided for the CryptoConfig class.
.NET Framework
Available since 1.1
Available since 1.1
Show: