| 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.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.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code