Minggu, 24 Oktober 2010

Load a .NET Assembly into a Separate AppDomain So You Can Unload It

There may be times when you wish to temporarily load a .NET assembly to inspect it, but you don’t want the assembly to remain in your program’s memory taking up resources.  Unfortunately, once your program loads an assembly, there is no way to unload it.  The best way is to create a separate AppDomain, load the assembly into that AppDomain, then unload the AppDomain when you are finished. The

Tidak ada komentar:

Posting Komentar