is there a way via ASP.NET to detect if the client viewing the webpage has the .net framework installed?

basically i am going to be offering a program for download on the web, and i was hoping when they visit the download page, i can display one of 2 links depending on if they have the framework installed or not.

one would be the smaller install of just my app, while the other would be my app and the framework