Show / Hide Table of Contents

Method consoleProcess.ReadAllText(+ 1 overload)


Overload

Reads all console output text until its process ends. Returns that text.

public string ReadAllText()
Returns
string
Exceptions
AuException

Failed.

Remarks

Does not parse lines. Does not normalize newline characters.


Overload(top)

Reads all console output text until its process ends. Calls callback function.

public void ReadAllText(Action<string> output)
Parameters
output  (Action<string>)

Called for each text chunk received from console.

Exceptions
AuException

Failed.

Remarks

Does not parse lines. Does not normalize newline characters.