Determine if .NET is installed on CLIENT?
-
We're going to release a small application to select vendors from our website. The application is written in VB.NET (VS 2002... 1.0 Framework), as is the website. We're planning on creating 2 installs, one that includes the .NET framework and one that doesn't. The idea here is if they already have the right .NET Framework installed, then we we'll provide them the much smaller download. If they don't, then they'll get the big one. Is there a simple way to determine the version of the .NET Framework installed on the client (or IF it's installed) from the server with aspx? That way we don't have to worry about whether the client has any idea what the .NET Framework is.
-
We're going to release a small application to select vendors from our website. The application is written in VB.NET (VS 2002... 1.0 Framework), as is the website. We're planning on creating 2 installs, one that includes the .NET framework and one that doesn't. The idea here is if they already have the right .NET Framework installed, then we we'll provide them the much smaller download. If they don't, then they'll get the big one. Is there a simple way to determine the version of the .NET Framework installed on the client (or IF it's installed) from the server with aspx? That way we don't have to worry about whether the client has any idea what the .NET Framework is.
If they are using IE, then their useragent string contains information on what version of the clr they have.
-
We're going to release a small application to select vendors from our website. The application is written in VB.NET (VS 2002... 1.0 Framework), as is the website. We're planning on creating 2 installs, one that includes the .NET framework and one that doesn't. The idea here is if they already have the right .NET Framework installed, then we we'll provide them the much smaller download. If they don't, then they'll get the big one. Is there a simple way to determine the version of the .NET Framework installed on the client (or IF it's installed) from the server with aspx? That way we don't have to worry about whether the client has any idea what the .NET Framework is.
Hi Matt: This should help you: http://www.codeproject.com/useritems/detecting_net.asp[^] Deepak Kumar Vasudevan http://deepak.portland.co.uk/
-
We're going to release a small application to select vendors from our website. The application is written in VB.NET (VS 2002... 1.0 Framework), as is the website. We're planning on creating 2 installs, one that includes the .NET framework and one that doesn't. The idea here is if they already have the right .NET Framework installed, then we we'll provide them the much smaller download. If they don't, then they'll get the big one. Is there a simple way to determine the version of the .NET Framework installed on the client (or IF it's installed) from the server with aspx? That way we don't have to worry about whether the client has any idea what the .NET Framework is.
Hey Matt, Better late than never. :zzz: I found this code snipet on www.sellsbrothers.com. The following ASP.NET code checks whether the correct version of .NET is installed on your machine:
Version verHave = Request.Browser.ClrVersion; Version verNeed = new Version("1.0.3705"); if( verHave < verNeed ) ...
Roger Stewart "I Owe, I Owe, it's off to work I go..."