OID object
[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.
When to use
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.
Members
The OID object has these types of members:
Properties
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. |
Remarks
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:
Requirements
Requirement | Value |
---|---|
Redistributable |
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
DLL |
|