AuthenticatedStream.LeaveInnerStreamOpen Property

 

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)

Public ReadOnly Property LeaveInnerStreamOpen As Boolean

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: