Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property bool IsConnected {
	bool get();
	protected: void set(bool value);
}

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:
© 2017 Microsoft