How can I figure out whether a C# app was launched from the desktop or the cmd shell?
<p>How can i find out if a C# App has been started from the desktop or the cmd shell?</p>

<p>The msdn documentation is a bit fuzzy on this part. Perhaps someone can help me out here :)</p>

<p>Thx a lot!</p>
