title: How to load an unmanaged DLL from a stream?
body: <p>I have an application written in .NET 4.0 that needs to load in memory a native DLL (written C). </p>
  
  <p>At the moment I am using a P/Invoke call to LoadLibrary passing the path where the DLL is located. </p>
  
  <p>This works, but due to the fact that this DLL comes from a DB, I would like to know if it is possible loading it through a stream, avoiding then the necessity to store the DLL somewhere in the filesystem.</p>