如何检测请求是来自我的ASP.NET MVC中的移动浏览器还是桌面 [英] How can I detect if the request is coming from a mobile browser or desktop in my ASP.NET MVC

查看:219
本文介绍了如何检测请求是来自我的ASP.NET MVC中的移动浏览器还是桌面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

How can i detect if the request is coming from a mobile browser or desktop in my asp.net MVC
i want to return view but different look  mobile wise different or desktop wise different so how can possible





我尝试过:





What I have tried:

<pre>How can i detect if the request is coming from a mobile browser or desktop in my asp.net MVC
i want to return view but different look  mobile wise different or desktop wise different so how can possible

推荐答案

例如见: c# - asp.net中的移动设备检测 - 堆栈溢出 [ ^ ]。


这篇关于如何检测请求是来自我的ASP.NET MVC中的移动浏览器还是桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆