title: Run exe file from FileStream
body: <p>I'm trying to run an exe file through filestream , but nothing is happens when I call the command.</p>
  
  <p>My code:</p>
  
  <pre><code>string filePath = AppDomain.CurrentDomain.BaseDirectory + "OUT\\WAMServer.exe";
  
  // read the bytes from the application exe file
  FileStream fs = new FileStream(filePath, FileMode.Open);
  BinaryReader br = new BinaryReader(fs);
  byte[] bin = br.ReadBytes(Convert.ToInt32(fs.Length));
  fs.Close();
  br.Close();
  
  // load the bytes into Assembly
  Assembly a = Assembly.Load(bin);
  </code></pre>
  
  <p>Anyone have tips or a solution?</p>