Home All Groups Group Topic Archive Search About

Read/Return the Framework version with the SP?

Author
3 Oct 2005 7:53 PM
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

Author
3 Oct 2005 10:04 PM
Mattias Sjögren
>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 Sjögren [MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Author
3 Oct 2005 10:16 PM
wa4lef
Mattias,

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

Thanks again,
Greg

AddThis Social Bookmark Button