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 get column value from the selected row in data grid in wpf c#.net

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

How to use Format function in Microsoft Dynamics Navision.