protected void ProcessErrOutputReadingThreadImpl(Process process) { var data = new AsyncCallbackData(); data.Process = process; process.StandardError.BaseStream.BeginRead(data.Buffer, 0, data.Buffer.Length, AsyncErrOutputReadCallback, data); }
protected void ProcessStdOutputReadingThreadImpl(Process process) { _previousProgress = 0.0; var data = new AsyncCallbackData(); data.Process = process; process.StandardOutput.BaseStream.BeginRead(data.Buffer, 0, data.Buffer.Length, AsyncStdOutputReadCallback, data); }