mehmetserif mehmetserif - 3 months ago 28
ASP.NET (C#) Question

How to get operating system version asp.net

I want to get the os version that the browser opens, actually my project is an asp.net 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..

Answer

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

Comments