Share via


SmtpSession.IsTls property

Indicates whether the session uses Transport Layer Security (TLS).

Namespace:  Microsoft.Exchange.Data.Transport.Smtp
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property IsTls As Boolean
    Get
'Usage
Dim instance As SmtpSession
Dim value As Boolean

value = instance.IsTls
public abstract bool IsTls { get; }

Property value

Type: System.Boolean
true if TLS is used for the session; otherwise, false.

See also

Reference

SmtpSession class

SmtpSession members

Microsoft.Exchange.Data.Transport.Smtp namespace