MailMessageIsSigned Property |
Indicates if the message has a digital signature.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool IsSigned { get; }
Public ReadOnly Property IsSigned As Boolean
Get
Property Value
Type:
Booleantrue if the message is signed with a digital signature; otherwise,
false.
Remarks Examples This sample loads the message from .EML file and reports
whether the message is signed.
using System;
using MailBee;
using MailBee.Mime;
class Sample
{
static void Main(string[] args)
{
MailMessage msg = new MailMessage();
msg.LoadMessage(@"C:\Docs\TestMail1.eml");
if (msg.IsSigned)
{
Console.WriteLine("The message is signed.");
}
}
}
Imports System
Imports MailBee
Imports MailBee.Mime
Module Sample
Sub Main(ByVal args As String())
Dim msg As New MailMessage
msg.LoadMessage("C:\Docs\TestMail1.eml")
If msg.IsSigned Then
Console.WriteLine("The message is signed.")
End If
End Sub
End Module
See Also