Groups | Blog | Home
all groups > dotnet framework > july 2006 >

dotnet framework : Loading an assembly from a stream


Markus Stoeger
7/28/2006 12:00:00 AM
[quoted text, click to view]

I haven't checked the docs right now, but I know there is some
Assembly.Load method that takes a byte array. You just have to read the
bytes from the stream into an array and pass that to the load function.

Can you get it to work with that? If not, I'll go check the docs later.

hmoeller
7/28/2006 12:23:17 AM
Is there a way to load an assembly from a stream instead of from the
file system? The static methods in System.Assembly.Reflection don't
support anything other than file names or assembly names as a source
for the various Load methods.

TIA

Henning.
hmoeller
7/28/2006 1:25:11 AM

[quoted text, click to view]

*Blush* I focused my search on "Stream". Obviously, this is exactly
what I was looking for. Thanks a lot.

Henning.
AddThis Social Bookmark Button