PowerTCP Mail for .NET
UseSslShutdown Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Tcp Class : UseSslShutdown Property




Controls whether or not shut-down bytes are sent to the server when the connection is closed.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Send shutdown bytes to gracefully close the SSL connection.")>
<DefaultValueAttribute()>
<CategoryAttribute("Security")>
Public Property UseSslShutdown As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Tcp
Dim value As Boolean
 
instance.UseSslShutdown = value
 
value = instance.UseSslShutdown
C# 
[DescriptionAttribute("Send shutdown bytes to gracefully close the SSL connection.")]
[DefaultValueAttribute()]
[CategoryAttribute("Security")]
public bool UseSslShutdown {get; set;}
Managed Extensions for C++ 
[DescriptionAttribute("Send shutdown bytes to gracefully close the SSL connection.")]
[DefaultValueAttribute()]
[CategoryAttribute("Security")]
public: __property bool get_UseSslShutdown();
public: __property void set_UseSslShutdown( 
   bool value
);
C++/CLI 
[DescriptionAttribute("Send shutdown bytes to gracefully close the SSL connection.")]
[DefaultValueAttribute()]
[CategoryAttribute("Security")]
public:
property bool UseSslShutdown {
   bool get();
   void set (    bool value);
}

Property Value

True if shut-down bytes are to be sent to the server; false otherwise. The default value is true.

Remarks

When the Object.Close method is used to close down a secure connection, the component will send out shut-down bytes to attempt to gracefully shut down the connection. However, some servers do not expect these shut-down bytes and, as a result, the connection can be improperly closed. If this is the case, set this property to false and no shut-down bytes will be sent when the connection is closed.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.