Oid2GetAllOids Method
Gets all registrations for the specified OID value.
Namespace: SysadminsLV.PKI.CryptographyAssembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
public static Oid2[] GetAllOids(
string value,
bool searchInDirectory
)
Public Shared Function GetAllOids (
value As String,
searchInDirectory As Boolean
) As Oid2()
public:
static array<Oid2^>^ GetAllOids(
String^ value,
bool searchInDirectory
)
static member GetAllOids :
value : string *
searchInDirectory : bool -> Oid2[]
- value String
- OID value to search. If the OID name is passed, it is converted to a best OID value
match and performs OID search by it's value.
- 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.
Oid2An array of OID registrations.
If registration information is found in Active Directory, DistinguishedName parameter contains
directory path to a OID registration entry.
ArgumentException |
The value parameter contains unresolvable object identifier friendly name.
|