I need to avoid loading images into a webBrowser control that I'm using in a C# project, but I'm not sure even if it's possible.

I have read that it could be done implementing the IDispatch interface and overriding the Invoke method:


But I'm not sure about how to do this in C#.

Thanks in advice for your help!

As far as i studied it is difficult to implement in c#..... this link contains a coding example follow this may be helpful

check this thread and this link these contain the same question...


Thanks for your reply. I have checked up those links before. They basically suggest to use the IDispatch interface, the problem is that I don't now how to do it using C#.

Hope someone could give some guide about it.