Alexander,
The easiest way, I think, is to get the current HttpContext (check the
static Current property on the HttpContext class). If it is null, then you
are not in a web application.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Alexander" <al**************@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
I use same assembly in Application and in Web.
How can i determine - assembly using in Application or in Web?
(Some feautures i cant use in Web)