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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top