Use the Environment.OSVersion and OperatingSystem.Platform properties to obtain the PlatformID enumeration for the currently executing operating system or development platform. Use the PlatformID enumeration to help determine whether the current operating system or development platform supports your application.
The operating system is Macintosh.
The operating system is Unix.
The operating system is Windows NT or later.
The operating system is Win32s. Win32s is a layer that runs on 16-bit versions of Windows to provide access to 32-bit applications.
The operating system is Windows 95 or Windows 98.
The operating system is Windows CE.
The development platform is Xbox 360.