BrowserCapabilitiesCodeGenerator Class

 

This API supports the product 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)

System.Object
  System.Web.Configuration.BrowserCapabilitiesCodeGenerator

[PermissionSetAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Unrestricted = true)]
public class BrowserCapabilitiesCodeGenerator

NameDescription
System_CAPS_pubmethodBrowserCapabilitiesCodeGenerator()

This API supports the product infrastructure and is not intended to be used directly from your code. Used internally to create a new instance of BrowserCapabilitiesCodeGenerator.

NameDescription
System_CAPS_pubmethodCreate()

This API supports the product infrastructure and is not intended to be used directly from your code. Used internally to coordinate the behavior of this class.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodProcessBrowserFiles(Boolean, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Loads and parses the XML contained in a collection of browser-definition files and inserts the information contained therein into an internal collection of browsers.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodUninstall()

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the browser capabilities factory from the global assembly cache and deletes its strong name public key token file.

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.

.NET Framework
Available since 2.0

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

Return to top
Show: