C# .NET Checking if browser is mobile - what is the most reliable way?

后端 未结 5 1657
谎友^
谎友^ 2021-01-14 19:03

I know I can use Request.Browser.IsMobileDevice.

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

Thanks!

5条回答
  •  一生所求
    2021-01-14 19:13

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

提交回复
热议问题