Hi everyone. I can't seem to find a solution to my question anywhere so here goes.
I currently have both a windows forms (.net 3.5) app and ASP.net web app (.net 4.0). I have a web service on my ASP.net web app that I call from my windows forms. I'm essentially returning a SQL filestream as a byte array back to the windows forms. Now I know for the web I could call the Response.AddHeader methods to stream the PDF (or bytes) and open it using the default Adobe Reader program (assuming it exists on the user's machine). I can't seem to figure out how to do the exact same thing on a windows form though. How do I invoke this? I'm hoping that I won't have to save the file locally first in order to open it. Is it possible to stream or does it have to exist locally?
Or does the way the web method work actually save the file locally in the Temp files or something?
Thank you