mehmetserif mehmetserif - 6 months ago 71
ASP.NET (C#) Question

How to get operating system version

I want to get the os version that the browser opens, actually my project is an project and i want to know which operating system runs on the client but there is a question about it. Because the client will use xp but at the same time will use Windows CE 5.0, so the internet explorer in Windows CE is not as good as the one in xp, because of it i'll redirect the user to the page that i designed for Windows CE. So is there any solution to do it?

Thank you..


The gist of it is use Request.Browser.Platform, and the version is in Request.UserAgent.