NaPNaP

Hi,

I make a cardspace application for my website and I want to check if visitors use framework 3.0. How can I do that

I try to use a javascript which test if navigator.appversion contains ".NET CLR 3.0". But on my computer, navigator.appversion returns ".NET CLR 2.0.50727". Although I installed the framework 3.0, it return 2.0..., why

Thanks for your help Smile

napnap

PS : Sorry for my bad english, I come from France lol



Re: Windows CardSpace (InfoCard) How can I detect Framework 3.0 ?

Toland Hon - MSFT

Which browser are you using With IE7 and .NET 3.0 installed, I see:

Your User Agent is:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)

Text taken from: http://whatsmyuseragent.com/

//Toland




Re: Windows CardSpace (InfoCard) How can I detect Framework 3.0 ?

NaPNaP

Thanks for your answer,

I use IE7 but I see :

Your User Agent is:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)

The .NET 3.0 is installed because I can use CardSpace, so I don't understand why I can't see ".NET CLR 3.0.04506.30"

Any Idea





Re: Windows CardSpace (InfoCard) How can I detect Framework 3.0 ?

Toland Hon - MSFT

I'm assuming you're using XP or Server 2003 as you had to install .Net 3.0.

How'd you install .Net 3.0 Setup is the one that usually adds the string to the User Agent.

There's 2 things you can try. Uninstall and reinstall .Net 3.0, or manually add the string to your User Agent. Open Registry Editor (regedit) and goto [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\Post Platform]

Add the string ".NET CLR 3.0.04506.30"

//Toland