Mono Class Library: System.Console Overview | Members

System.Console.OpenStandardInput Method

Returns the standard input stream.

public static System.IO.Stream OpenStandardInput (int bufferSize)

Parameters

bufferSize
A int that specifies the desired internal stream buffer size.

Returns

A new synchronized System.IO.Stream object that reads from the console.

Remarks

Buffering console streams is not required to be supported. If it is not supported, the bufferSize parameter is ignored, and this method behaves identically to Console.OpenStandardInput(). If buffering is supported, the buffering behavior of the Console class is implementation-specific.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0