- Updating Device Data
- Web Apps
- SQL Server
- Reference Pages
- Useful Links
- Supported Versions
Client Side Overrides
Sometimes, the User-Agent alone does not contain enough information for certain properties. For example:
- The device may be used in Landscape or Portrait orientation which is not a static feature of the device.
Feature detection, when enabled, enhances properties in the 51Degrees dictionary to provider additional details. Once enabled, properties such as HardwareModel or Orientation will be populated or their values become more accurate.
Support for Client Side Overrides is API dependent. Future releases will include this functionality for unsupported APIs.
Using Client Side Overrides
Important: When using NuGet packages, the below will be added to the modules section in your web.config file. If you are not using NuGet to integrate 51Degrees into your project then please add the following to your web.config file:
<configuration> <system.webServer> <modules> <!-- IIS 7.X - Registers 51Degrees Detector Module. Without this call to 51Degrees.core.js won't work.--> <remove name="Detector"/> <add name="Detector" type="FiftyOne.Foundation.Mobile.Detection.DetectorModule, FiftyOne.Foundation"/> </modules> </system.webServer> </configuration>