System.IO.Pipes.PipeStream.ReadByte Method

Reads a byte from a pipe.

Syntax

[System.MonoTODO]
public override int ReadByte ()

Returns

The byte, cast to int, or -1 indicates the end of the stream (the pipe has been closed).

Remarks

Use the PipeStream.CanRead property to determine whether the current System.IO.Pipes.PipeStream object supports read operations.

Requirements

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