Link to home
Start Free TrialLog in
Avatar of Stanton_Roux
Stanton_RouxFlag for South Africa

asked on

HttpBrowserCapabilities type property

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
ASKER CERTIFIED SOLUTION
Avatar of sybe
sybe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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