check service pack version

  • Thread starter Thread starter Henry Chen
  • Start date Start date
H

Henry Chen

How do I check what .net framework service pack is applied on the computer?
I tried the control panel/add remove. But could not find it. Any help is
appreciated.

Henry
 
For the service pack, query the string held in
"HKLM\Software\Microsoft\Windows NT\CurrentVersion\CSDVersion". For the
installed updates, enumerate the keys under
"HKLM\Software\Microsoft\Windows NT\CurrentVersion\HotFix".

If you don't already know how to access the registry using the .NET
Framework then take a look at the 'Registry' class under the
'Microsoft.Win32' namespace which contains all the registry access
functions you will need.
 
Those registry keys will get you OS service packs, not .Net service packs.
They're not the same thing.

Jerry
 
Back
Top