title: How to save FileSteam as PDF file
body: <p>I am using a third party tool to get the scanned content from the scanner. On button click it executes the code and gives the content as a FileStream. Now I need to save this FileStream content as a pdf file in to a specified folder.</p>
  
  <p>After saving I need to open the file in browser. How can I save the FileStream as a PDF file?</p>