Click or drag to resize

Oid2GetAllOids Method

Gets all registrations for the specified OID value.

Namespace:  System.Security.Cryptography
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public static Oid2[] GetAllOids(
	string value,
	bool searchInDirectory
)

Parameters

value
Type: SystemString
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
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.

Return Value

Type: Oid2
An array of OID registrations.
Exceptions
ExceptionCondition
ArgumentException The value parameter contains unresolvable object identifier friendly name.
Remarks
If registration information is found in Active Directory, DistinguishedName parameter contains directory path to a OID registration entry.
See Also