How do I check the vesrion of .NET Framework?

  • Thread starter Thread starter A.M-SG
  • Start date Start date
A

A.M-SG

Hi,

What would be the best way to check the version of .NET framework (2.0 Beta,
or 2.0 Release) ?

Thank you,
Alan
 
Alan,

Are you trying to get the version in general, or just trying to
differentiate between the beta and the release version of 2.0? If the
answer is the latter, then you really shouldn't do such a thing, since the
beta is officially considered unsupported, especially with a release version
out.

If you are in a running program, then you can use the static Version
property on the Environment class to figure out which version of the runtime
you are running on.

Hope this helps.
 
Thanks for reply Nicholas,

We are trying to check and see which machine is running the beta version and
the un-install it.



Nicholas Paldino said:
Alan,

Are you trying to get the version in general, or just trying to
differentiate between the beta and the release version of 2.0? If the
answer is the latter, then you really shouldn't do such a thing, since the
beta is officially considered unsupported, especially with a release
version out.

If you are in a running program, then you can use the static Version
property on the Environment class to figure out which version of the
runtime you are running on.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

A.M-SG said:
Hi,

What would be the best way to check the version of .NET framework (2.0
Beta, or 2.0 Release) ?

Thank you,
Alan
 
Back
Top