PipeStream.CanWrite Property


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

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

public override bool CanWrite { get; }

Property Value

Type: System.Boolean

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

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

.NET Framework
Available since 3.5
Return to top