Loading an assembly from a memorystream?

-Strict-

Active member
Joined
Jan 18, 2003
Messages
32
In my application I have made it abel to accept plugin dlls, and support for Zip files.
I would like to unzip a dll from a zip file into a memory stream and do an Assembly.Load or Assembly.LoadFrom however none of the overloaded methods seem to have ready support for performing such an action directly.

I was wondering what would be the best way to tackle this?
 
One of the overloads for System.Reflection.Assembly.Load takes a byte array which (reading the documentation) looks like it might do what you need.
 
I was looking at that but wasnt sure if that was what I was looking for. Ill give it a shot and will post my results.
 
Back
Top