The fastest, most accurate tools. Deployed by millions.
     Request.Browser properties will be populated with data from 51Degrees Lite Device Data. Other features
     include automatic image optimisation, monitoring of network conditions and client side feature detection.

There is a newer version of this package available.
See the version list below for details.
Install-Package 51Degrees.mobi-WebMatrix -Version
dotnet add package 51Degrees.mobi-WebMatrix --version
<PackageReference Include="51Degrees.mobi-WebMatrix" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add 51Degrees.mobi-WebMatrix --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Important: Upgrading users of Enhanced Data need version 3.1 format data.      
Device detection algorithm is over 100 times faster than version 2. Regular expressions and levenshtein distance calculations are no longer used.
The device detection algorithm performance is no longer limited by the number of device combinations contained in the dataset.
Two modes of operation are available:
 Memory – the detection data set is loaded into memory and there is no continuous connection to the source data file. Slower initialisation time but faster detection performance.
 Stream – relevant parts of the data set are loaded into memory when required and cached to improve performance. Rapid initialisation time but approximately 50% slower detection performance. This mode is used when operated in a web environment.
JPG and PNG format images can be optimised to improve performance.
Bandwidth and response times can be monitored to understand in real time the end users experience.
Feature detection is used to override properties in the data set to provide details such as iPhone model or the screen orientation. These values become available to the server from the 2nd request from the device onwards.
Multi-threading is no longer used within the matching algorithm.
When used in a web environment the detection results are stored within the session when available and are no longer cached separately.

--Changes between version and

1. Match results are no longer cached in session.
2. Temporary data files are no longer created for every worker process. Instead, a single one is created and shared by all the workers.
3. If Lite data is being used then the next update date of the data set will be ignored when deciding if to use a licence key for enhanced data during auto update.
4. NewDevice.cs has been changed to a static class to ensure only one background thread can be running at any one time.
5. A single queue which is destroyed after it’s cleared is used in NewDevice.cs to avoid any locking conflicts.
6. Fixed a bug introduced in that would cause a null exception if the useragent was null.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 1,893 11/13/2018 570 6/4/2018 616 12/4/2017 1,860 9/13/2017 1,085 6/2/2017 1,086 3/20/2017 488 12/15/2016 538 11/1/2016 702 9/14/2016 499 8/18/2016 536 6/22/2016 597 6/21/2016 627 5/23/2016 604 4/21/2016 599 4/4/2016
3.2.7-beta 632 2/12/2016
3.2.6-beta 549 12/7/2015 936 10/23/2015 649 10/16/2015 620 10/13/2015 580 10/12/2015 1,150 9/3/2015 804 7/21/2015 950 6/2/2015 881 3/20/2015 851 2/23/2015 2,777 1/8/2015 622 1/7/2015 639 12/4/2014 761 10/6/2014 1,498 7/10/2014 717 6/25/2014 826 6/24/2014 755 6/5/2014 695 5/27/2014
Show less