As I understand it, you want to do the following:
- Load the assembly from disk to memory to use data or a call code in it
- Be able to unload the assembly later
- , ( ).
, , , , dll .
-, , , . , .
Google, .
-, , , . , , , . .
Assembly.Load, , , .
, A.dll B.dll, A.dll Assembly.Load, ( , , "" ), , B.dll , A.dll, A.dll B.dll .
.
, AppDomain .NET, . , .
, .
. 1, , , , 2, ( ).
, . MarshalByRefObject, , .
, . , . MarshalByRefObject. , -, , , . .
, , , .
, , . , , , .
, - , . - , , , ( ), , , , .
, , , , .
, . , , , , , , MarshalByRefObject, , . - - , MarshalByRefObject, . .
, , , Google, .