How to get browser details using asp.net ?


below code is give the name of browser witch is use by client.

/////////////////////////////////////// CODE ///////////////////////////////


using System.Web;
...
HttpBrowserCapabilities bc = HttpContext.Current.Request.Browser;
String Browser = bc.Browser + " " + bc.Version;


///////////////////////////////////////////////////////////////////////////////////

now you can print the string browser which print the name of browser.


--
/\/ir@\/  <(.'.)>

Comments

Popular posts from this blog

How to make and use web service in Microsoft Dynamics Navision.

How to use Format function in Microsoft Dynamics Navision.

How to create simple report in Microsoft Dynamics Navision.