Oid2(String, Boolean) Constructor

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


Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: (
public Oid2(
	string oid,
	bool searchInDirectory


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.


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

See Also