BrowserCapabilitiesCodeGenerator Class

This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The BrowserCapabilitiesCodeGenerator class is used internally by the aspnet_regbrowsers tool to parse .browser browser definition files and add browsers to the run-time collection of known browsers contained in the BrowserCapabilitiesFactory object.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

public class BrowserCapabilitiesCodeGenerator
public class BrowserCapabilitiesCodeGenerator
public class BrowserCapabilitiesCodeGenerator
Not applicable.

This class generates the source code for an assembly for the BrowserCapabilitiesFactory class, which, at run time, produces request-specific HttpCapabilitiesBase objects to be publicly accessed through the ASP.NET intrinsic Request.Browser property.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions