MailMessageVersion Property |
Gets the current version of MailBee.NET Objects.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public string Version { get; }
Public ReadOnly Property Version As String
Get
Property Value
Type:
String
A string containing the current version of MailBee.NET Objects (such as
major.minor.build.revision).
Examples This sample creates the new message and displays the version of MailBee.NET Objects.
using System;
using MailBee;
using MailBee.Mime;
class Sample
{
static void Main(string[] args)
{
MailMessage msg = new MailMessage();
Console.WriteLine("You are using MailBee.NET Objects v" + msg.Version);
}
}
Imports System
Imports MailBee
Imports MailBee.Mime
Module Sample
Sub Main(ByVal args As String())
Dim msg As New MailMessage
Console.WriteLine("You are using MailBee.NET Objects v" & msg.Version)
End Sub
End Module
See Also