Re: how to get the version of the dot net installed?

From: Matt Berther (mberther_at_hotmail.com)
Date: 11/01/04


Date: Mon, 01 Nov 2004 12:30:25 -0800

Hello Assaf,

Assuming Carsten's solution didnt work for you, you could always try System.Environment.Version...

--
Matt Berther
http://www.mattberther.com
> great.
> 
> however,
> now i need the same,
> only from a winapp.
> can it be done?
> 
> assaf
> 
> "Matt Berther" <mberther@hotmail.com> wrote in message
> news:eAyQAgDwEHA.2316@TK2MSFTNGP15.phx.gbl...
> 
>> Hello Assaf,
>> 
>> How about HttpContext.Current.Request.Browser.ClrVersion?
>> 
>> --
>> Matt Berther
>> http://www.mattberther.com
>>> hi CT.
>>> 
>>> i see.
>>> 
>>> however, this article describes a way
>>> to find the .net version through
>>> accessing the registry.
>>> i, on the other hand,
>>> need to find out the
>>> dot net version,
>>> without accessing the registry.
>>> my app must run from the web,
>>> so it cannot access the registry.
>>> isn't there a less intrusive way
>>> to find the .net version?
>>> assaf
>>> "CT" <carstent@spammersgoawaydotnetservices.biz> wrote in message
>>> news:OmoIIfAwEHA.2192@TK2MSFTNGP14.phx.gbl...
>>> 
>>>> Assaf,
>>>> 
>>>> Check this out:
>>>> http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;315291
>>>> --
>>>> Carsten Thomsen
>>>> Enterprise Development with VS .NET, UML, and MSF
>>>> http://www.apress.com/book/bookDisplay.html?bID=105
>>>> "assaf" <assafwo@hotmail.com> wrote in message
>>>> news:u2xwkw$vEHA.1988@TK2MSFTNGP12.phx.gbl...
>>>>> hi all
>>>>> 
>>>>> is there any way
>>>>> i can programmatically get the dot
>>>>> net version installed?
>>>>> assaf


Relevant Pages