Specifies the current version of the SmtpDotNet assembly.
[Visual Basic]
Public Shared Function Version() As String
none
[C#]
public void Send()
{
SmtpServer oSmtpDotNet = new SmtpServer("c:\\temp\\log.txt");
// Get the Version
Console.WriteLine(oSmtpDotNet.Version());
}
[VB]
Public Function Send() As Integer
Dim oSmtpDotNet As New SmtpServer("c:\temp\log.txt")
' Get the Version
Console.WriteLine(oSmtpDotNet.Version())
End Function
SmtpServer Class | SmtpServer Members | SmtpDotNet Namespace