I am not sure whether this is "the proper" method, but you can try to check
the value of System.Web.HttpContext.Current and if it is null, you can
conclude that it is not a Web application.
Alek
"dje" <de@networld.com> wrote in message
news:d7**************************@posting.google.c om...
How do I determine if the current process is a Web Application
or Windows Application? I've tried:
System.Diagnostics.Process
process=System.Diagnostics.Process.GetCurrentProce ss(); but it produces:
Couldn't get process information from remote machine.
Using W2K.