EnvelopedCms.RecipientInfos Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The RecipientInfos property retrieves the recipient information associated with the enveloped CMS/PKCS #7 message.

Namespace:   System.Security.Cryptography.Pkcs
Assembly:  System.Security (in System.Security.dll)

public RecipientInfoCollection RecipientInfos { get; }

Property Value

Type: System.Security.Cryptography.Pkcs.RecipientInfoCollection

A RecipientInfoCollection collection that represents the recipient information. If no recipients exist, the property value is an empty collection.

Although this property is read-only, a modification to the RecipientInfo objects in the RecipientInfoCollection can be done by using their properties.

The RecipientInfos property is not populated as a result of calling the EnvelopedCms.Encode method nor any of the overloaded EnvelopedCms.Encrypt methods.

.NET Framework
Available since 2.0
Return to top