I'm working on an Internet Explorer addon (IE11), using C#. I have by BHO & Button registered, and working. I'm trying to get the contents of the current tab when my button is pressed, WITHOUT issuing a second request for the resource.
With HTML, this is easy, I'm just using execScript to run some JavaScript which gets the page HTML.
Preferably, there would be a way to get the current pages content as a binary stream without issuing another request that works for HTML or PDF files (assuming the Adobe reader extension is installed), but I can't find any information about it.