How does IsMobileDevice work?

前端 未结 7 1299
情话喂你
情话喂你 2020-11-28 11:01

MSDN makes it sound so easy to detect a mobile browser:

if (Request.Browser[\"IsMobileDevice\"] == \"true\" ) 
{
    Response.Redirect(\"MobileDefault.aspx\"         


        
相关标签:
7条回答
  • 2020-11-28 11:49

    Issues has been resolved while I added 51Degrees, just add 51degrees using Nuget thats all. See more here https://51degrees.codeplex.com

    0 讨论(0)
提交回复
热议问题