Detecting webhost server

Posted by user279521 on Stack Overflow See other posts from Stack Overflow or by user279521
Published on 2010-04-29T11:27:54Z Indexed on 2010/04/29 11:57 UTC
Read the original article Hit count: 257

Filed under:
|
|

I have a web app that is using the 3.5 framework. I wanted to know how can I detect what webhost is rendering the page.

If the server is localhost, then send email notification to [email protected] If the server is QA, then send email to [email protected]

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-3.5