This documentation is archived and is not being maintained.

EnvelopedCms.RecipientInfos Property

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0