PipeStream::CanRead Property

 

Gets a value indicating whether the current stream supports read operations.

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

public:
property bool CanRead {
	virtual bool get() override;
}

Property Value

Type: System::Boolean

true if the stream supports read operations; otherwise, false.

If the PipeStream object is closed, this property returns false.

.NET Framework
Available since 3.5
Return to top
Show: