Using VS 2017 programming in C#, when I get the version string from System.Environment.OSVersion I get something of the form 10.0.x.0. When I run winver it displays OS Build x.y. Run "ver" on the command line you get 10.0.x.y. So the question is, how do I get 'y'?
Asked
Active
Viewed 22 times
0
-
What language / shell are you using – Gavin Sep 04 '20 at 20:13
-
Updated question with language and compiler info. – Gregg H Sep 04 '20 at 20:41
-
1I believe this may be answered by https://stackoverflow.com/questions/52041735/c-sharp-how-to-show-the-full-windows-10-build-number/52042144 – Gavin Sep 04 '20 at 20:50
-
It did indeed, thank you @Gavin! – Gregg H Sep 04 '20 at 21:33