.Net's Environment.OsVersion object gives us the version information of the OS we are running under - its Platform property gives us the OS family and we can then use the Version property to narrow down the specific OS.
This article from Microsoft outlines a function that detects the curren...
[More]