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.CryptographyAssembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.3.0+a868daf3196ed1ac6592e4f3e5cd2b429fc81eaa
public Oid2(
	string oid,
	bool searchInDirectory
)
Public Sub New ( 
	oid As String,
	searchInDirectory As Boolean
)
public:
Oid2(
	String^ oid, 
	bool searchInDirectory
)
new : 
        oid : string * 
        searchInDirectory : bool -> Oid2
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.
            
 
            If registration information is found in Active Directory, DistinguishedName parameter contains
            directory path to a OID registration entry.