Description:- If you want to get any browser information then you should
use this code in your web application to get browser information.
Step 1: Create
Webpage and Design Like Below.
<div> <p> <font face="Arial" size="3"><b>Browser Information</b></font> </p> <hr align="left" width="30%" color="#0404B4"> <div align="left"> <table> <tr> <td> <font>Browser Type</font> </td> <td> <font>:</font> </td> <td> <font> <%= Request.Browser.Browser %></font> </td> </tr> <tr> <td> <font>Version</font> </td> <td> <font>:</font> </td> <td> <font> <%= Request.Browser.Version %></font> </td> </tr> <tr> <td> <font>ActiveX Control</font> </td> <td> <font>:</font> </td> <td> <font> <%= Request.Browser.ActiveXControls %></font> </td> </tr> <tr> <td> <font>Java Script</font> </td> <td> <font>:</font> </td> <td> <font> <%= Request.Browser.JavaScript %></font> </td> </tr> <tr> <td> <font>Java Applet</font> </td> <td> <font>:</font> </td> <td> <font> <%= Request.Browser.JavaApplets %></font> </td> </tr> <tr> <td> <font>VB Script</font> </td> <td> <font>:</font> </td> <td> <font> <%= Request.Browser.VBScript %></font> </td> </tr> </table> </div> <hr align="left" width="30%" color="#0404B4"> </div>
Step 2: Now run your Webpage and get Browser Information.
Thanks for comments.....