コード例 #1
0
        protected void ProcessErrOutputReadingThreadImpl(Process process)
        {
            var data = new AsyncCallbackData();

            data.Process = process;
            process.StandardError.BaseStream.BeginRead(data.Buffer, 0, data.Buffer.Length, AsyncErrOutputReadCallback, data);
        }
コード例 #2
0
        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);
        }