Sunday, March 27, 2011

Browser Detection in HttpModule

Is there a way to detect what browser the request is made in the HttpModule?

Thanks.

From stackoverflow
  • public class TestModule : IHttpModule
    {
        public void Dispose() {
         throw new NotImplementedException();
        }
    
        public void Init(HttpApplication context) {
         context.Request.Browser....;
        }
    }
    

    MSDN Reference

0 comments:

Post a Comment