HttpBrowserCapabilities type property

Stanton_Roux
Stanton_Roux used Ask the Experts™
on
Hi There

I would like to know if there is any resources where I can get the browser type value for all common browsers.

IE6 - IE8 , Firefox and chrome
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
hi

Am not sure whether you are looking for a solution which am gonna post...
The code below will give the details of the browser.
Check this

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) _
    Handles MyBase.Load
        Response.Write("<B>User Agent ::</B> " & Request.UserAgent & "<BR>")
        Response.Write("<B>Browser ::</B> " & Request.Browser.Browser & "<BR>")
        Response.Write("<B>Version ::</B> " & Request.Browser.Version & "<BR>")
        Response.Write("<B>Major::</B> " & Request.Browser.MajorVersion() & "<BR>")
        Response.Write("<B>Minor::</B> " & Request.Browser.MinorVersion() & "<BR>")
    End Sub

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial