title: c# how to save IO.Stream to MemoryStream and save to PDF file on local folder
body: <p>I am calling a third party service, which return a pdf file by IO.Stream. I need to change to MemoryStream, and save to a pdf file.</p>