Hi,
I am developing a website using ASP.net 2.0(c#) and SQL server 2008.
I want code to get the information of user device like ipad,iphone or other mobile phones from which they access the website.
Loading
Hi,
I am developing a website using ASP.net 2.0(c#) and SQL server 2008.
I want code to get the information of user device like ipad,iphone or other mobile phones from which they access the website.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prabhu RajaPosted Oct 1, 2011, 1:27 PM
You may Try this. Click Here
Satish BhatPosted Oct 1, 2011, 4:52 AM
Example:
string userAgent = Request.UserAgent.ToLower();
if(userAgent.Contains("iphone")
{
// IPhone
}
Link for the list of Browser ID (User-Agent) Strings
Link for the list of Mobile Browser ID (User-Agent) Strings