Check whether Dot Net Platform installed

Anyone know how this page works?

http://www.asp.net/webmatrix/CheckDotNet.aspx?tabindex=0&tabid=1

Cheers,
Matt
cdpMatAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

naveenkohliCommented:
This information is there in
Request.Browser property corresponds to HttpBrowserCapabilities class. But this is not a very reliable way. Some browsers may not transmit this information to the server.
Loo at the documenation for this property, it has complete sample there.
0
Mohammed NasmanSoftware DeveloperCommented:
Hello

  You can try two things to check if the framework installed

First one: check if the mscoree.dll exist in the %windir%\system32

or by checking the windows registry key, look at
http://support.microsoft.com/default.aspx?scid=kb;en-us;315291

try the code in this page
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&th=64d42c947e593d34&seekm=uLUyTtvqCHA.436%40TK2MSFTNGP12&frame=off

Best regards
Mohammed Nasman
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
iboutchkineCommented:
1. Check if such dir exists
%windir%\Microsoft.NET\Framework\

or

You could check the registry. The location
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
contains a registry key for each program installed. This information is
listed in Add/Remove Programs in Control Panel.

The key for Microsoft .NET Framework is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B433
57AA-3A6D-4D94-B56E-43C44D09E548}


also

You can search for this Registry key.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.0 and its
Value key value.

0
naveenkohliCommented:
Web apps can't check a client's registry without the help of an ActiveX control.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.