I have to detect Windows 8 Operating system in my C# Windows Application and do some settings. I know we can detect Windows 7 using Environment.OSVersion, but how can windows 8 be detected?

Thanks in advance.

Edit
Report