Browser name in ASP.Net

By [)ia6l0 iii

Use the HtpContext's Request object to determine the Browser name.

string theBrowserName = HttpContext.Current.Request.Browser.Browser;

The above snippet would retrieve the browser's name.

Related FAQs

Use the HttpContext's Request object to determine the Browser version in ASP.Net
Browser name in ASP.Net  (933 Views)