I write a WinForms app,in local network how can understand that current pc's OS is server Windows or not? thanks.
Asked
Active
Viewed 214 times
1
-
A related question and good answer: http://stackoverflow.com/questions/37700605/getting-windows-os-version-programmatically – robert4 Jul 01 '16 at 09:14
2 Answers
3
there are specific versions of windows: Operating system versions
and have a look here: OperatingSystem.Platform Property

Davide Piras
- 43,984
- 10
- 98
- 147
1
You should use System.OperatingSystem osInfo = System.Environment.OSVersion;
. To understand what the version numbers mean, you can take a look at this KB article.

madd0
- 9,053
- 3
- 35
- 62