PipeStream.CanRead Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public override bool CanRead { get; }

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: