title: Redirect file write from external programm to memorystream and vice versa
body: <p>I use some external programs to edit files. I do this with System.Diagnostics.Process. These programs read the files from the hard disk, edit them and write them back.</p>
  
  <p>But this is too slow due to the amount of files.
  Is it now possible to transfer files to and receive them from an external program via a MemoryStream?</p>
  
  <p>I thought about a RamDisk but wanted another solution because this doesn't work reliable enough. (Program technique creation of a RamDisk)</p>
  
  <p>For one of the used programs (GhostScript, GhostScript. NET) there is the possibility to load the output directly in a memory stream. But not for e. g. cpdf.</p>
  
  <p>Thank you for help.</p>