BrowserInfo Methods |
The BrowserInfo type exposes the following members.
Name | Description | |
---|---|---|
DetermineSupportLevel |
Determines the BrowserSupport level of the current browser.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
ForceDeviceClass |
Override the class's standard device determination DeviceClass logic and force the application
to render for the specified DeviceClass. A call to this method will override the internal
logic used in IsMobile, IsTablet, and GetDeviceClass to use the
specified setting. You can clear the override and restore standard device determination by passing zero as
the deviceClass.
It is strongly recommended that this method be called only at application startup (presumably in a startup application extension) and that the DeviceClass not be changed later in the session life-cycle. Changing the DeviceClass later in the session life-cycle could have various side effects such as links becoming invalid (e.g. link is rendered for Computer on one request, but when the link is clicked the link is invalid because the DeviceClass has been changed to Mobile which is typically more restrictive). If changing the DeviceClass later in the session is required, it is strongly recommended that a full page refresh be performed. | |
GetDeviceClass |
Gets the DeviceClass of the browser's physical device.
Note that the device class is automatically detected, but can be force to a different
value via ForceDeviceClass(DeviceClass).
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Supports |
Determines if the browser is supports the specified capability. The determination is based on the
browser type and version.
| |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |