Saving the same result to MemoryStream
and local file:
using (MemoryStream ms = new MemoryStream(_tempDatei))
{
...
pdfDocument.Save(toMyLocalFilesSystemStringPath);//save to file system
pdfDocument.Save(ms);//save to MemoryStream
}
How to do this, at the moment "ms" is kind of empty ?!