title: Opposite operation to Assembly Load(byte[] rawAssembly)
body: <p>I notice that there is a method of <code>System.Reflection.Assembly</code>, which is <code>Assembly Load(byte[] rawAssembly)</code>.</p>
  
  <p>I wonder if there is an opposite operation like <code>byte[] Store(Assembly assembly)</code>. If not, how can I convert an assembly object to <code>byte[]</code> for calling <code>Assembly Load(byte[] rawAssembly)</code> totally in memory without writing the assembly to a file? Thanks!</p>
  
  <p>Comment: The question comes from the situation that I am using a third-party library which returns an Assembly instance to me, and I must use reflection to call its methods. I don't know how the library creates this assembly object. I just wonder if I can store the assembly object to byte[] and reload it with 'Assembly Load(byte[] rawAssembly)'. Thanks!</p>