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 bool LeaveInnerStreamOpen { get; }
/** @property */
public boolean get_LeaveInnerStreamOpen ()

public function get LeaveInnerStreamOpen () : boolean

Not applicable.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0