For example, download the 1.2.0.5 library from codeplex of 51degrees.mobi.
Why download the version 1.2.0.5 is simple. Because the library of version 1 implements the wurfl interface and uses the wurfl hardware package, you can accurately obtain the hardware model. The Library of version 2 can no longer obtain the hardware model. Only the paid version can be used.
When we go back to the database version 1.2.0.5, The wurfl hardware package is old. We can download the latest package from the official wurfl website and replace it with it.
:
Download all 1.2.0.5 files:
Download the latest wrufl hardware package from wrufl. The website provides two formats: Zip and GZ, because the format corresponding to 51degrees.mobi is the GZ package, the latest package version is 2.3.3.
Replace the packages in the app_data folder of the original project!
If you replace the original package, directly copy the downloaded package to app_data, and then modify web. config.
Next we will compare the differences between the new package and the old package:
Useragent used: Mozilla/5.0 (blackberry; U; Blackberry 9900; en-US) applewebkit/534.11 + (khtml, like gecko) version/7.0.0.187 mobile safari/534.11 +
Old package:
After replacing the new package:
Obviously, the model is more accurate!
Therefore, when we use the earlier version of the 51degrees.mobi library, we can update the device library to achieve the latest hardware model.
Add 51degrees.mobi 1.2.0.5: XXX.
Wurfl.gz: CCC