I want to get a value of what system you're using, like:
-
Windows 7 or
-
Windows 8 or
-
Windows 8.1 or
-
Windows 10
How can I do this in C #? I've tried System.Environment.OSVersion
does not work right.
I tried this answer here and it does not work. I'm using Windows10 , it returns as Windows8 .
I have already tried the "English" stackoverflow, none of them did not work with this link .