Click or drag to resize
MimeKit

CmsRecipientCollection Class

A collection of CmsRecipient objects.
Inheritance Hierarchy
SystemObject
  MimeKit.CryptographyCmsRecipientCollection

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.17.0
Syntax
C#
public class CmsRecipientCollection : ICollection<CmsRecipient>, 
	IEnumerable<CmsRecipient>, IEnumerable

The CmsRecipientCollection type exposes the following members.

Constructors
 NameDescription
Public methodCmsRecipientCollection Initialize a new instance of the CmsRecipientCollection class.
Top
Properties
 NameDescription
Public propertyCount Get the number of recipients in the collection.
Public propertyIsReadOnly Get a value indicating whether the CmsRecipientCollection is read only.
Top
Methods
 NameDescription
Public methodAdd Add a recipient.
Public methodClear Clear the recipient collection.
Public methodContains Check if the collection contains a recipient.
Public methodCopyTo Copy all of the recipients in the CmsRecipientCollection to the specified array.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetEnumerator Gets an enumerator for the collection of recipients.
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodRemove Remove a recipient.
Public methodToString
(Inherited from Object)
Top
Remarks
If the X.509 certificates are known for each of the recipients, you may wish to use a CmsRecipientCollection as opposed to using the methods that take a list of MailboxAddress objects.
See Also