Last post Jul 06, 2018 10:15 AM by mudassarkhan
Jun 30, 2017 01:15 AM|kengkit|LINK
hi guys.. i gonna detect what mobile device my visitor is using while browsing website.
in more detail.. like using iphone 6, note 4, google pixel and etc
below is the below i have found so far. is there any other good method out there?
Jun 30, 2017 09:43 AM|Cathy Zou|LINK
In ASP.NET, you can easily detect the mobile device request using Request.Browser.IsMobileDevice property and Request.UserAgent.
string strUserAgent = Request.UserAgent.ToString().ToLower();
if (strUserAgent != null)
if (Request.Browser.IsMobileDevice == true || strUserAgent.Contains("iphone") ||
strUserAgent.Contains("blackberry") || strUserAgent.Contains("mobile") ||
strUserAgent.Contains("windows ce") || strUserAgent.Contains("opera mini") ||
Or Use 51Degrees.mobi .NET Mobile API To Detect The User-Agent.
For more information, please refer to the following links:
Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found
on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions
you to make sure that you completely understand the risk before retrieving any software from the Internet.
Jul 06, 2018 09:58 AM|JacobJohn|LINK
While other Web metrics software packages have fallen to the wayside over the years, Google Analytics (GA) platform has risen to the top as the de facto standard for website reporting and statistics. Simply put, the platform is indispensable for any
business or organization that wishes to gain deeper insight into their website traffic—namely, information on how visitors find your site, their activity and behaviors while visiting, and what they are using to view your website.
Jul 06, 2018 10:15 AM|mudassarkhan|LINK
Mobile Browser (Mobile Device) in ASP.Net using C# and VB.Net