System.Console.OpenStandardInput Method

Acquires the standard input stream, which is set to a specified buffer size.

Syntax

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

Parameters

bufferSize
The internal stream buffer size.

Returns

The standard input stream.

Remarks

This method can be used to reacquire the standard output stream after it has been changed by the Console.SetIn(System.IO.TextReader) method.

Requirements

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