James Hollingworth’s Adventures in Code

Monorail: Get client’s browser

leave a comment »

For future reference, to get the clients browser:

    $Context.UnderlyingContext.Request.Browser.Browser

This is infact accessing the HttpRequest.Browser property so you can then get all the usual info like browser version:

    $Context.UnderlyingContext.Request.Browser.MajorVersion

Hope this helps someone!

Written by jhollingworth

March 2, 2008 at 11:19 am

Leave a Reply