I can't speak for future versions, but when I had RC0 and the release version of the runtime installed, both version numbers appeared in the HTTP_USER_AGENT string. Also, ClrVersion only returned the first one (the earlier one). This means that user could have a newer version installed and you wouldn't know it if you were checking the ClrVersion property.
Peter > -----Original Message----- > From: Erick Thompson [mailto:[EMAIL PROTECTED]] > Posted At: Friday, May 03, 2002 5:10 PM > Posted To: DOTNET > Conversation: Re: [DOTNET] Detecting DotNet from the browser > Subject: Re: [DOTNET] Detecting DotNet from the browser > > So what is going to happen when the next version of the CLR comes out? > Because we can have side by side execution, the HTTP_USER_AGENT string is > going to get ugly. Or, will it only show the latest version installed? > Same > question on the HttpBrowserCapabilities object. > > Erick > > ----- Original Message ----- > From: "Nikhil Kothari" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, May 03, 2002 1:58 PM > Subject: Re: [DOTNET] Detecting DotNet from the browser > > > The HTTP_USER_AGENT string contains the version of the CLR installed on > the user's machine. > If you're using ASP.NET, you can use the ClrVersion property of the > HttpBrowserCapabilities object to get the version of the CLR. > > Nikhil Kothari > ASP.NET Development > > > > -----Original Message----- > From: Jacob Grass [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 03, 2002 1:46 PM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] Detecting DotNet from the browser > > > I know it's possible, but I am not sure how. . . If you follow this > Amazon link [1], for example, it will tell you what version of the CLR > you have installed (at least it does on my machine) . . . Not sure how > they get it though. . > > > Note, this is an intentionally bad link that will bring up Amazon's a > page claiming the browser has a bug. . . > [1] - > http://www.amazon.com/exec/obidos/search-handle-form/103-4291205-3783066 > > Jacob A. Grass > > > > -----Original Message----- > > From: Patrick Burrows [mailto:[EMAIL PROTECTED]] > > Sent: Friday, May 03, 2002 3:40 PM > > To: [EMAIL PROTECTED] > > Subject: [DOTNET] Detecting DotNet from the browser > > > > > > Is there a way to detect whether or not the DotNet runtime has been > > installed on a user's machine from the Browser? I'd like to write a > > web page that detects if it is installed or not, and then either > > direct them > > to a download page for the dotnet install, or the download page for my > > app. > > > > > > > > > > -- > > Patrick Burrows > > What have I ever done to make you treat me > > so disrespectfully? If you'd come to me in > > friendship, then this scum that ruined your > > daughter would be suffering this very day. > > And if by chance an honest man like yourself > > should make enemies, then they would become > > my enemies. And then they would fear you. > > -------------------- > > Now Playing: natalie merchant & tracy chapman - in the ghetto (live) > > -------------------- > > > > You can read messages from the DOTNET archive, unsubscribe > > from DOTNET, or > > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, > or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.