System.Security.Cryptography.X509Certificates.X509FindType.FindBySubjectDistinguishedName Field

The findValue parameter for the X509Certificate2Collection.Find(X509FindType, object, bool) method must be a string representing the subject distinguished name of the certificate. This is a more specific search than that provided by the X509FindType.FindBySubjectName enumeration value. Using the X509FindType.FindBySubjectDistinguishedName value, the X509Certificate2Collection.Find(X509FindType, object, bool) method performs a case-insensitive string comparison for the entire distinguished name. Searching by subject name is a less precise search.

Syntax

X509FindType FindBySubjectDistinguishedName

Requirements

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0