views:

84

answers:

1

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

Thanks.

+3  A: 
public class TestModule : IHttpModule
{
    public void Dispose() {
     throw new NotImplementedException();
    }

    public void Init(HttpApplication context) {
     context.Request.Browser....;
    }
}

MSDN Reference

John Sheehan