Determine Browser Capabilities in ASP.NET
Category:
C#, VB.NET, ASP.NETType:
SnippetsDifficulty:
BeginningAuthor:
Intelligent Solutions Inc.Version Compatibility: ASP.NET
More information:
This code shows you how to use the .NET framework's HttpBrowserCapabilities class to query browser capabilities. This class provides a lot more information than the BrowserCapabilities object in ASP
. To run the code, cut and paste it into a text editor and save it to a file with an .aspx extension on a server with Visual Studio.NET and IIS 5.0 installed.
Originally developed for beta versions; verified to work in .NET Version 1.0, 03/25/02.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: