You can redirect stdout / stderr (standard thread / error stream) of the process if you run it. As an example, consider this .
Capturing the output stream of a process that was not started by you, well, that’s a completely different matter. I am not sure that this can be done.
, , pipe/remoting/WCF .....