My code is in a process that might be a Console application, a desktop application, or an ASP.NET application. I\'m trying to find out which kind of application I\'m running