Re: test for .net 2.0
- From: Michael Nemtsev <nemtsev@xxxxxxx>
- Date: Sat, 25 Feb 2006 18:35:39 +0000 (UTC)
Hello Ken Cox - Microsoft MVP,
Hmm, interesting. but it returns only major version
for .NET 2.0 it returns 2.0.0.0 and for 1.1 returns 1.0.5000
Any ideas why is it so?
K> You can probably read it from this string:
K> K> Dim MyType As Type = Type.GetType("System.AppDomain")
K> Response.Write(MyType.Assembly.FullName & "<br />")
K> Ken
K> Microsoft MVP [ASP.NET]
K> "Craig L" <craig.lonsbury@xxxxxxxxxxxxxxxxxxxx> wrote in message
K> news:uONmHSXOGHA.2128@xxxxxxxxxxxxxxxxxxxxxxx
K>
Hi All,
I am just wondering if there is test to check if the .net2.0
framework is
installed on a machine?
As a quick'n'dirty test while developing, I am just checking if the
folder 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727' is present,
but that won't do for production code.
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche
.
- References:
- Re: test for .net 2.0
- From: Ken Cox - Microsoft MVP
- Re: test for .net 2.0
- Prev by Date: TransparentProxy and Reflection
- Next by Date: Why can't I get simple multipliation answer
- Previous by thread: Re: test for .net 2.0
- Next by thread: Re: test for .net 2.0
- Index(es):
Relevant Pages
|