title: How to detect Windows 8 Operating system using C# 4.0?
body: <p>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 <code>Environment.OSVersion</code>, but how can windows 8 be detected?</p>
  
  <p>Thanks in advance.</p>