I have a library which I may use with either a console app or an asp.net web
app.

Does anyone have a suggestion on how that library could determine the type
of running application at runtime?

Thanks

AJ

Re: Determine type of application at runtime by Bruce

Bruce
Mon Dec 13 14:39:30 CST 2004

I haven't tried this, but you could check the HttpRuntime object. I
suspect that if you're running in a Windows Forms environment, this
value will be set to null.

Bruce Johnson [.NET MVP]
http://www.objectsharp.com/blogs/bruce

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!