.Net Tips — Checking the current OS version
You can find out some useful information about the OS your application is running in by using the Environment.OSVersion property:
[code lang=”csharp”]
Console.WriteLine(“Current OS: {0}”, Environment.OSVersion.VersionString)…