aaa aaa - 4 months ago 9
ASP.NET (C#) Question

Get the client's operating system's name

I want to get the client's operating system's name (i.e Windows XP, Windows 7, Windows Vista).

Answer
HttpBrowserCapabilities browse = Request.Browser;
string platform = browse.Platform;