SmimeSetEnvelopedCmsOnDecrypt Property
Gets or sets if Decrypt(MailMessage) or DecryptAndVerify(MailMessage, MessageVerificationFlags) methods should also populate EnvelopedCmsResult property.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public bool SetEnvelopedCmsOnDecrypt { get; set; }

Property Value

Type: Boolean
If true, MailBee will populate EnvelopedCmsResult property with EnvelopedCms object in SmimeResult object returned by methods capable of message signature verification in case if the message is encrypted. If false, EnvelopedCmsResult property will always remain a null reference (Nothing in Visual Basic). The default value is false.
Instantiating EnvelopedCms object is an expensive operation so you should set this property to true only if you need the S/MIME message info which is not otherwise returned by other properties of SmimeResult class.
See Also