CertificateStoreFindCertificates Method |
Searches the certificates in the store by the specified criteria.
Namespace: MailBee.SecurityAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public CertificateCollection FindCertificates(
string substring,
CertificateFields fields
)
Public Function FindCertificates (
substring As String,
fields As CertificateFields
) As CertificateCollection
Parameters
- substring
- Type: SystemString
The string to be searched in the specified fields of the certificates in the store. - fields
- Type: MailBee.SecurityCertificateFields
The set of certificate fields where to perform the search.
Return Value
Type:
CertificateCollectionA
CertificateCollection of all matching certificates.
Exceptions Remarks Search is case-insensitive (ABC and abc are treated the same). For instance, if
substring is John and the corresponding certificate field is "johndoe@company.com",
this certificate will appear in the resulting collection.
Examples See Also