Display PDF from a stream in a WebBrowser control

How can I display a pdf document with MemoryStreamin a control WebBrowser?

I searched and found that I can just go to the PDF file using:

webBrowser1.Navigate(@"C:\Temp\ExportedPDF.pdf");

However, I want to avoid saving the file anywhere, but at the moment I am inclined to use it IsolatedStoragesimply because I cannot find any other method to get the stream to the browser control.

+5
source share

All Articles