EnvelopedData.Content property

[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use the EnvelopedCms Class in the System.Security.Cryptography.Pkcs namespace.]

The Content property sets or retrieves the plaintext content of a message to be enveloped. This is the default property.

Syntax

EnvelopedData.Content As String

Property value

The plaintext content of a message to be enveloped.

Remarks

Setting this property must be done before the Encrypt method is called. When the value of this property is reset, directly or indirectly, the whole state of the object is reset, and any encrypted content in the object is lost.

Requirements

Requirement Value
End of client support
Windows Vista
End of server support
Windows Server 2008
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

EnvelopedData