MailMessageCheckSignature Method (String)

Checks the signature of the specified eml file.

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

Parameters

fileName
Type: SystemString
A file name (eml).

Return Value

Type: Boolean
True if signature is valid; otherwise, false.
Exceptions
ExceptionCondition
ArgumentExceptionfileName is null or empty.
FileNotFoundExceptionThe specified fileName doesn't exist.
NotSupportedExceptionSignature type is not supported.
InvalidOperationExceptionMail message is not signed or signature type is not specified.
See Also