In a C# application, I\'d like to determine whether another .NET application is a Console application or not.
Can this be done using the reflection APIs?
EDI
I suppose it should the same as for native apps so then you might be able to adapt this article from C++ to C# to read the PE headers: How To Determine Whether an Application is Console or GUI