I would like to check what browser (basically if mobile or not) is accessing my application (ASP.net in VB) as I would like to send them to a different master layout page? Any ideas on how this can be done?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check the different options suggested in the How can i detect if the request is coming from a mobile browser in my asp.net MVC 3 thread.
There is a built-in Request.Browser.IsMobileDevice property available.