SmimeResultVerificationResult Property
Gets a set of flags which indicate reasons to treat the message signature as invalid.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public MessageVerificationFlags VerificationResult { get; }

Property Value

Type: MessageVerificationFlags
A set of flags which indicate reasons to treat the message signature as invalid, or None if the source message passed all the tests or was not signed or if the current SmimeResult object was returned by Encrypt(MailMessage, CertificateCollection) (rather than by Verify(MailMessage, MessageVerificationFlags, CertificateStore) or DecryptAndVerify(MailMessage, MessageVerificationFlags)) method call.
Remarks

You should use Verify(MailMessage, MessageVerificationFlags, CertificateStore) or DecryptAndVerify(MailMessage, MessageVerificationFlags) methods to get SmimeResult object with VerificationResult property set.

If you get None status, you can distinguish between "not-signed" and "signature passed all the tests" statuses by checking SignatureCertificate property. It's a null reference (Nothing in Visual Basic) if the message was not signed.

See Also