How to check if user has .net framework from website?

awardle

Newcomer
Joined
Apr 21, 2003
Messages
9
Hi,

We currently ship our application to customers on CD-Rom and have the .NET Framework on the CD-Rom with the setup linking to the framework install if the user does not have this on their PC.

We would like to to be able to let our buyers visit our website and if possible it could check to see if they meet the requirement and depending on that it would give them the option to purchase a downloadable version + 23mb Framework or order the product on CD-Rom.

I've had a look around on google and cant find any answers to this so maybe some of you guys might be able to shed some light on tis.

Thanks
Aaron
 
Check the user-agent header the browser passes to your site. If they're using internet explorer the version of .NET installed will be passed as part of this.

You can then at least tell them that since they have .NET already they can download the smaller version. Those users that aren't using Internet Explorer (or just don't have .NET) you can still present with a choice.
 
Back
Top