Oid2 Constructor (String, Boolean) |
Initializes a new instance of the Oid2 class using the specified Oid friendly name or value and search conditions.
Namespace:
System.Security.Cryptography
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax 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
- Type: SystemString
Specifies the object identifier friendly name or value to search. - searchInDirectory
- Type: SystemBoolean
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