Hi MC,
In .Net I think you are out of luck. Using Win32 I detected a change in
handle value when piping to file or not using the Kernel32 methods
GetStdHandle(STD_OUTPUT_HANDLE) and CreateFile("CON", ...).
--
Happy Coding!
Morten Wennevik [C# MVP]