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 use serial.write() in Arduino.

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

How to Generate random rows in dataset using c#.net