M Matthias S. Oct 13, 2004 #1 Hi, how do I retrieve the version of the running CLR/Framework at runtime? Thanks in advance!
S Sahil Malik Oct 13, 2004 #2 There is no framework running, there are frameworks installed. There are multiple ways to get the version, the easiest that comes to mind is Console.WriteLine(System.Runtime.InteropServices.RuntimeEnvironment.GetSyste mVersion()) ; - Sahil Malik You can reach me thru my blog at http://www.dotnetjunkies.com/weblog/sahilmalik
There is no framework running, there are frameworks installed. There are multiple ways to get the version, the easiest that comes to mind is Console.WriteLine(System.Runtime.InteropServices.RuntimeEnvironment.GetSyste mVersion()) ; - Sahil Malik You can reach me thru my blog at http://www.dotnetjunkies.com/weblog/sahilmalik
M Matthias S. Oct 13, 2004 #3 Sorry for not beeing more precise, but it's late here . Thanks for your answer! M.
S Sahil Malik Oct 13, 2004 #4 Or maybe I'm being an anal purist .. glad that helped - Sahil Malik You can reach me thru my blog at http://www.dotnetjunkies.com/weblog/sahilmalik
Or maybe I'm being an anal purist .. glad that helped - Sahil Malik You can reach me thru my blog at http://www.dotnetjunkies.com/weblog/sahilmalik
M Mike Schilling Oct 13, 2004 #5 Sahil Malik said: There is no framework running, there are frameworks installed. Click to expand... There can be multiple versions of the framework installed. What was asked for is the version of the one that is currently running.
Sahil Malik said: There is no framework running, there are frameworks installed. Click to expand... There can be multiple versions of the framework installed. What was asked for is the version of the one that is currently running.
J Jay B. Harlow [MVP - Outlook] Oct 13, 2004 #6 Matthias, In addition Sahil's suggestion, you may try System.Environment.Version. Environment.Version returns a System.Version object, while RuntimeEnvironment.GetSystemVersion returns a string. Hope this helps Jay
Matthias, In addition Sahil's suggestion, you may try System.Environment.Version. Environment.Version returns a System.Version object, while RuntimeEnvironment.GetSystemVersion returns a string. Hope this helps Jay