C # .NET Check if your browser is mobile - which is the most reliable way?

I know what I can use Request.Browser.IsMobileDevice.

But does anyone know how this works, and if it is reliable and up to date?

Thank!

+3
source share
4 answers

You are looking for it. Put it in a folder in a folder App_Browsers. http://mdbf.codeplex.com/

0
source

You need to regularly update BrowserCaps to keep it up to date.

http://www.asp.net/mobile/device-updates/instructions/

Note: (August 25, 2012), apparently the page has been deleted.

+3
source
+1

If you intend to use the latest and most affordable features, you should take a look at the IE9 demo for Media Queries to make a decision by checking the current screen resolution.

0
source

Source: https://habr.com/ru/post/1737075/


All Articles