Multiple Assembly.Load (Byte []), same instance or leak?

What happens when I call Assembly.Load (Byte []) several times with a Byte array containing the same assembly?

Will I get the same assembly instance for every call?

The same assembly loaded several times into the application domain

+4
source share
1 answer

You will get a new Assembly object with each call, read the documentation , there is a note near the end:

"Note that this overload method always creates a new Assembly object with its own mapping."

+4
source

All Articles