AuthenticatedStream.LeaveInnerStreamOpen Property

Note: This property is new in the .NET Framework version 2.0.

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

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions