Read/Return the Framework version with the SP?

  • Thread starter Thread starter wa4lef
  • Start date Start date
W

wa4lef

How do I determine if SP 1 has been installed on a remote server?

I can use the following
Me.FrameworkVersionInfo.Text =
System.Reflection.Assembly.GetExecutingAssembly().ImageRuntimeVersion()

but it doesn't return any service pack info.

Thanks in advance
Greg
 
How do I determine if SP 1 has been installed on a remote server?
See

http://support.microsoft.com/?kbid=318785
http://blogs.msdn.com/astebner/archive/2004/09/14/229802.aspx
http://blogs.msdn.com/astebner/archive/2004/09/14/229574.aspx


I can use the following
Me.FrameworkVersionInfo.Text =
System.Reflection.Assembly.GetExecutingAssembly().ImageRuntimeVersion()

ImageRuntimeVersion returns the version an executable was compiled
against. It doesn't give you the currently installed or loaded CLR
version.


Mattias
 
Mattias,

Thanks for the links.
I'll try some of the code tomorrow

Thanks again,
Greg
 

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