Oid2(Oid, Boolean) Constructor

Initializes a new instance of the Oid2 class from an existing Oid object.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public Oid2(
	Oid oid,
	bool searchInDirectory
)

Parameters

oid  Oid
Existing object identifier.
searchInDirectory  Boolean
Specifies whether to search for an object identifier in Active Directory. If the machine is not domain-joined, an OID is searched by using local registration information.

Remarks

If registration information is found in Active Directory, DistinguishedName parameter contains directory path to a OID registration entry.

See Also