1

Is there an efficient and simple way to retrieve the version number of the last Windows Update using C# and .NET? Specifically, this number (found using winver.exe):

Image

Thanks in advance.

Edit:

So people finding this are informed, this value is called 'Update Build Revision' - or UBR for short - and is found in the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\UBR
Hubblenaut
  • 86
  • 7
  • That question is about the windows release version, which is a different number than the one I need to find. – Hubblenaut Jul 03 '18 at 17:16
  • Did you look at that registry key mentioned in the accepted answer? Whatever version information you're looking for should be there or in Environment.OSVersion. – itsme86 Jul 03 '18 at 17:21
  • You're right, it's in the same registry key. Thanks. – Hubblenaut Jul 03 '18 at 17:26

0 Answers0