title: C# Pass FILE STREAM to EXE file
body: <p>I have an a FILE STREAM  that I want to pass to an EXE to be processed. Is this possible? </p>
  
  <pre><code> using (FileStream fs = File.Create(path))
          {
           Addfile(fs, fileinmemory.ToString());
          }
  
   p.StartInfo.UseShellExecute = false;
   p.StartInfo.RedirectStandardOutput = true;
   p.StartInfo.Arguments = Addfile  //filestream from above
   p.StartInfo.FileName = "load.exe"; //used withabove argument to be passed into exe
   p.Start();
   p.WaitForExit();
  </code></pre>