I have a website created in asp.net 3.5, c# 2008 - hosted on IIS 7. I want to check from which operating system the client is accessing the site, whether from browser of computer or from browser of tablet devices like ipad, dell streak, samsung galaxy etc or from the smart phone. Is it possible to know. I have tried out
Page.Request.Browser.Platform.ToString();
but accessing from android device browser I am getting it undefined.
I also have tried
Request.Browser.Capabilities["OS"].ToString();
but for android I am getting the OS name Linux !!
I want the exact name whether it is windows, Symbian, Android, iOS, MAC or Linux.