PipeStream.IsConnected Property

 

Gets or sets a value indicating whether a PipeStream object is connected.

Namespace:   System.IO.Pipes
Assembly:  System.Core (in System.Core.dll)

public bool IsConnected { get; protected set; }

Property Value

Type: System.Boolean

true if the PipeStream object is connected; otherwise, false.

The IsConnected property returns true only if the PipeStream object is connected. If this property returns false, the pipe may be waiting to connect, or may be disconnected, closed, or broken.

.NET Framework
Available since 3.5
Return to top
Show: