Oid2(String, Boolean) Constructor

Initializes a new instance of the Oid2 class using the specified Oid friendly name or value and search conditions.

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(
	string oid,
	bool searchInDirectory
)

Parameters

oid  String
Specifies the object identifier friendly name or value to search.
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