C# – Read console output asynchronously

There are a lot of open source softwares which can be invoked through console command. If we want to integrate these programs into our software, we must handle how to input the arguments such as get the result back. If you read my blog post C# – MP3/WAV Converter with Lame/NAudio before, you’ll see how I call lame – a console application – in my application. However I didn’t explain much about how to read its output. So in this post, I’ll explain in details how we can read the output of cmd.exe.

Continue reading C# – Read console output asynchronously