0

I'm making a program which plays flash videos. However, I have to check if they have flash for the Internet Explorer (the WebBrowser Element) installed.

How can I check this? I saw this in another tool before, but I have no idea how it's working. :(

1n9i9c7om
  • 93
  • 8
  • Why duplicate? He is asking about the server-side check using VB.NET, but the question you mentioned is about client-side check and javascript. – Egor4eg Jun 10 '13 at 14:04
  • The answer could be http://stackoverflow.com/questions/903122/testing-for-flash-capability-on-the-server-side – Egor4eg Jun 10 '13 at 14:05
  • @Egor4eg It's not possible to do this on the server-side. It's pointless to ask how to do it there. The OP should've done research first. – xxbbcc Jun 10 '13 at 14:27
  • @xxbbcc It could be possible for some browsers. Browsers send HTTP headers to server and we can explore the headers in order to find indirect indicators of Flash existence. But I agree with you that OP should demosntrate his own effort in the question. – Egor4eg Jun 10 '13 at 14:32

1 Answers1

1

Try javascript

var _flash_installed = ((typeof navigator.plugins != "undefined" && typeof     navigator.plugins["Shockwave Flash"] == "object") || (window.ActiveXObject && (new    ActiveXObject("ShockwaveFlash.ShockwaveFlash")) != false));
kostas ch.
  • 1,960
  • 1
  • 17
  • 30