HighTechTalks DotNet Forums  

Have a way to load assembly from Memory instead from DLL?

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss Have a way to load assembly from Memory instead from DLL? in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Have a way to load assembly from Memory instead from DLL? - 04-21-2006 , 08:51 AM






I have some idea to hide my Assemblies (DLL) in Data file. and when i
need
them, I read it into Memory. my q is, if have a way to load Assembly
from
memory?


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: Have a way to load assembly from Memory instead from DLL? - 04-22-2006 , 02:58 PM






this method on MSDN:

rawAssembly
An array of type byte that is a COFF-based image containing an emitted
assembly.

what is COFF-based image ? and how to use with it?


Reply With Quote
  #3  
Old   
Daniel O'Connell [C# MVP]
 
Posts: n/a

Default Re: Have a way to load assembly from Memory instead from DLL? - 04-22-2006 , 07:12 PM




<mtczx232 (AT) yahoo (DOT) com> wrote

Quote:
this method on MSDN:

rawAssembly
An array of type byte that is a COFF-based image containing an emitted
assembly.

what is COFF-based image ? and how to use with it?
COFF based images is the format windows executables, including DLLs are in.
You should be able to just read the dll into memory and pass the byte array.




Reply With Quote
  #4  
Old   
AT
 
Posts: n/a

Default Re: Have a way to load assembly from Memory instead from DLL? - 04-23-2006 , 02:43 AM



thank you Daniel O'Connell.

I wonder if have some Books that Explain with detail All .NET Framework
library?
the MSDN is definitely not enough resource.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.