I want to open a PDF file from a MemoryStream.
I am using this code
System.Diagnostics.Process.Start(filepath);
In the above code if I pass the file path as a argument, then it works fine and my PDF file is also opened in the default reader. But I don't want to store the file on the hard drive. I want just open it from my MemoryStream.
How can we open a file from MemoryStream?