views:

701

answers:

1

Is it possible to disable Flash Player or any other plugins from being used by the .NET WebBrowser control?

A: 

You could access the WebBrowser.Document.HtmlDocument property of the the control to get managed access to the DOM. From there you can pull out any object tags responsible for loading plugin content...

Janie
Thanks for the reply. I've actually been doing that, but I was wondering if there might be something a bit more efficient.
The WebBrowser control is fairly locked down. That's pretty much the only approach you can take other than using a low level type such as WebClient.
Janie