Load Method (Byte[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Loads the assembly with a common object file format (COFF)-based image containing an emitted assembly. The assembly is loaded into the application domain of the caller.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

static Assembly^ Load(
	array<unsigned char>^ rawAssembly


Type: array<System..::..Byte>[]()[][]
A byte array that is a COFF-based image containing an emitted assembly.

Return Value

Type: System.Reflection..::..Assembly
The loaded assembly.

The trust level of an assembly that is loaded by using this method is the same as the trust level of the calling assembly. To load an assembly from a byte array with the trust level of the application domain, use the Load(array<Byte>[]()[][], array<Byte>[]()[][], SecurityContextSource) method overload. For more information about the use of evidence with overloads of the Load method that take byte arrays, see the Load(array<Byte>[]()[][], array<Byte>[]()[][], Evidence) method overload.