CertificateCollectionItem Property (String)
Gets the certificate by the name of the principal to which this certificate was issued.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Certificate this[
	string issuedTo
] { get; }

Parameters

issuedTo
Type: SystemString
The name of the entity the certificate was issued to.

Property Value

Type: Certificate
A Certificate object corresponding to the given principal name, or a null reference (Nothing in Visual Basic) if no matching certificate was found.
Remarks

This method compares value with IssuedTo values of the certificates in the collection. The string comparison is case-insensitive (no difference between abc and ABC).

If there are more than one certificate having the specified principal name, only the first certificate found will be returned.

See Also