51Degrees THE Fastest and Most Accurate Device Detection

Recent Changes | Supported Databases | .NET Developer Documention | Available Properties | Support Forum

Upgrading from version 3.1 or lower? - Important Change

The embedded free Lite device data has been removed from the assembly and by default placed in the App_Data folder for both web and non-web projects. The solution will not work without the associated data file being provided. The WebProvider.ActiveProvider property can now return null.

Get Started

Server Side: Use code like...

Request.Browser["IsMobile"]

or

Request.Browser["IsTablet"]

... from within a web application server side to determine the requesting device type.

Client Side: Include...

https://[YOUR DOMAIN]/51Degrees.features.js?DeviceType&ScreenInchesDiagonal

... from Javascript to retrieve device type and physcial screen size information. Use Google Analytics custom dimensions to add this data for more granular analysis.

Offline: Use...

var detectionProvider = new Provider(StreamFactory.Create("[DATA FILE LOCATION]")); var deviceType = detectionProvider.Match("[YOUR USERAGENT]")["DeviceType"];

... to perform offline analysis of web logs with User-Agent headers.

Compare Device Databases Review All Properties

Recent Changes

Version 3.2.5 Highlights

Changes from 3.2.4

See GitHub commit history for changes details and earlier versions.