description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Represents an object identifier (OID) that is used by several CAPICOM properties. |
d9dc2a9a-920b-41e1-91fb-da1628df577d |
OID object |
reference |
05/31/2018 |
|
|
|
|
[The OID object is available for use in the operating systems specified in the Requirements section. Instead, use the Oid Class in the System.Security.Cryptography namespace.]
The OID object represents an object identifier (OID) that is used by several CAPICOM properties.
The OID object is used to perform the following tasks:
- Set or retrieve a CAPICOM name and display name for the OID.
- Set or retrieve the dotted number for the OID.
The OID object has these types of members:
The OID object has these properties.
Property | Access type | Description |
---|---|---|
FriendlyName |
Read/write |
Sets or retrieves the display name for the OID. |
Name |
Read/write |
Sets or retrieves the CAPICOM-defined name for the OID. This is the default property. |
Value |
Read/write |
Sets or retrieves the value of the OID dotted number of the OID. |
The OID object can be created, and it is safe for scripting. The ProgID for the OID object is CAPICOM.OID.1.
The following CAPICOM object properties return an OID object:
Requirement | Value |
---|---|
Redistributable |
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
DLL |
|