Disable image loading from the web browser control until the event completed by the document

I want the images on the page not to load into the WebBrowser . I want this to happen before the DocumentCompleted event. Is there any way to do this?

+6
c # webbrowser-control
source share
2 answers
+1
source share

Try this code:

 RegistryKey RegKey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Internet Explorer\Main", true); RegKey.SetValue("Display Inline Images", "no"); 

It modifies the registry key.

+8
source share

All Articles