I am developing a .net component. Is there any foolproof way of identifying whether a web application or a windows application is calling it?
views:
62answers:
1
+2
A:
Check for
HttpContext.Current
which gets or sets the HttpContext object for the current HTTP request.
rahul
2009-12-11 13:00:37
That's a good one!
DOK
2009-12-11 13:10:16