• 0

.NET Client side detection


Question

Ph8l

I was just wondering if there was a script(vbs or js) for detecting if .NET framework was installed on a machine that visits a webpage?

Not for any reson, i just havn't heard of it before and was wondering if its possible. :laugh:

Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
dannysmurf

Since the script would have to have access to the filesystem and/or registry in order for that to work, if it is possible, it's a security breach.

Link to post
Share on other sites
  • 0
Sn1p3t
I was just wondering if there was a script(vbs or js) for detecting if .NET framework was installed on a machine that visits a webpage?

Not for any reson, i just havn't heard of it before and was wondering if its possible. :laugh:

584725368[/snapback]

Not without an ActiveX control (here's an example), however you can have .NET application installation programs to make sure it's installed before installing your program.

Link to post
Share on other sites
  • 0
rundkaas

I see that IE(Maxthon) send along this information in the header

Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+MyIE2;+Maxthon;+SV1;+i-NavFourF;+.NET+CLR+1.1.4322)

So as to find if the machine says that the framework is installed would just be to check for it in the header?!? (this could be unacurate as people could change the header very easily.

Link to post
Share on other sites
  • 0
Diffused Mind
I see that IE(Maxthon) send along this information in the header

Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+MyIE2;+Maxthon;+SV1;+i-NavFourF;+.NET+CLR+1.1.4322)

So as to find if the machine says that the framework is installed would just be to check for it in the header?!? (this could be unacurate as people could change the header very easily.

584727955[/snapback]

Only MSIE and its variants display that header though.

Link to post
Share on other sites
  • 0
John

You would have to use either ActiveX (requires IE) or check the user-agent string, which according to Diffused Mind?, also requires IE. And web developers ask why so many pages are written with IE in min:rolleyes:s:Moved to Web Programmingi>

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.