MailMessageCheckSignature Method (Stream)

Checks the signature of the specified eml message.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public static bool CheckSignature(
	Stream stream
)

Parameters

stream
Type: System.IOStream
A stream containing the message in eml format.

Return Value

Type: Boolean
True if signature is valid; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
NotSupportedExceptionSignature type is not supported.
InvalidOperationExceptionMail message is not signed or signature type is not specified.
See Also