I would like to determine if my program is running on a version of Windows Server. Apparently, System.Environment does not contain information about the fact th
System.Environment
You can p/invoke the following Win32 functions:
GetProductInfo for Vista/Windows Server 2008+ GetVersionEx for Windows 2000+
BJ Rollison has a good post and sample code about this on his blog.