<PackageReference Include="System.Security.Cryptography.Pkcs" Version="11.0.0-preview.7.26381.103" />

System.Security.Cryptography.Pkcs.RecipientInfoCollection

The RecipientInfoCollection class represents a collection of RecipientInfo objects. RecipientInfoCollection implements the ICollection interface.
public int Count { get; }

The Count property retrieves the number of items in the RecipientInfoCollection collection.

public bool IsSynchronized { get; }

The IsSynchronized property retrieves whether access to the collection is synchronized, or thread safe. This property always returns false, which means the collection is not thread safe.

public RecipientInfo this[int index] { get; }

The Item property retrieves the RecipientInfo object at the specified index in the collection.

public object SyncRoot { get; }

The SyncRoot property retrieves an Object object used to synchronize access to the RecipientInfoCollection collection.

public void CopyTo(Array array, int index)

The CopyTo method copies the RecipientInfoCollection collection to an array.

public void CopyTo(RecipientInfo[] array, int index)

The CopyTo method copies the RecipientInfoCollection collection to a RecipientInfo array.

The GetEnumerator method returns a RecipientInfoEnumerator object for the RecipientInfoCollection collection.