Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Determine if .NET is installed on CLIENT?

Determine if .NET is installed on CLIENT?

Scheduled Pinned Locked Moved ASP.NET
announcementcsharpdotnetvisual-studio
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Matt Philmon
    wrote on last edited by
    #1

    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.

    A V R 3 Replies Last reply
    0
    • M Matt Philmon

      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.

      A Offline
      A Offline
      Andy Smith
      wrote on last edited by
      #2

      If they are using IE, then their useragent string contains information on what version of the clr they have.

      1 Reply Last reply
      0
      • M Matt Philmon

        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.

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        Hi Matt: This should help you: http://www.codeproject.com/useritems/detecting_net.asp[^] Deepak Kumar Vasudevan http://deepak.portland.co.uk/

        1 Reply Last reply
        0
        • M Matt Philmon

          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.

          R Offline
          R Offline
          Roger Stewart
          wrote on last edited by
          #4

          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..."

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups