Share via

AuthenticatedStream.LeaveInnerStreamOpen Property


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

 property bool LeaveInnerStreamOpen { bool get(); };
public bool LeaveInnerStreamOpen { get; }
member this.LeaveInnerStreamOpen : bool
Public ReadOnly Property LeaveInnerStreamOpen As Boolean

Property Value

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 underlying transport stream. The default value of this property is false.

Applies to