This tutorial will show you how to gather your web browser capabilities using ASP.NET 2.0 and C#.

The class of HttpBrowserCapabilities will enable the server to gather information on the capabilities of the browser that is running on the client. Namespace of this class: System.Web.

First, import the namespace of System.Web:

Server Intellect offers Windows Hosting Dedicated Servers at affordable prices. I’m very pleased!

In order to use the class of HttpBrowserCapabilities, we need initialize an instance of Request.Browser object. Then we can use this class to list IE properties.

The front end Default.aspx page looks something like this:

Download Source Files