Posted on: 4/24/2015 1:06:27 PM | Views : 573

Hi. I have some code to redirect mobile users to mobile version of my website. Can you please suggest me a code in C# instead of 
<script type="text/javascript"> var useragent = navigator.userAgent; var isMobile = !!useragent.match(/iPhone|Android|Blackberry|Sony|Nokia|Motorola|Samsung/i); // Redirect the call accordingly. //if(isWebBrowser && !isMobile) //call to web portal // alert(" You seem to me... calling from Web Browser") if(isMobile) //call to mobile apps window.location = "http://m.website.com" </script>

Go to the complete details ...