The HTTP_USER_AGENT string will contain all versions present on the
machine.

And when there is a new version of the CLR...
1. The ClrVersion property on HttpBrowserCapabilities will hand back the
latest version.
2. There will be a method on the browser capabilities object to get back
a collection of versions as well (so you won't have to deal with parsing
the string yourself)


Nikhil Kothari
ASP.NET Development


-----Original Message-----
From: Erick Thompson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 03, 2002 2:10 PM
To: [EMAIL PROTECTED]
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.

Reply via email to