AuthenticatedStream.LeaveInnerStreamOpen Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets whether the stream used by this AuthenticatedStream for sending and receiving data has been left open.

Namespace:   System.Net.Security
Assembly:  System (in System.dll)

member LeaveInnerStreamOpen : bool with get

Property Value

Type: System.Boolean

true if the inner stream has been left open; otherwise, false.

When set to true, the stream passed to the constructor of this class will not be closed after the instance of this class is closed. When set to false, closing the instance of this class will also close the underlined transport stream. The default value of this property is false.

.NET Framework
Available since 2.0
Return to top
Show: