fancycode / MemoryModule

Library to load a DLL from memory.
http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/
Mozilla Public License 2.0
2.74k stars 750 forks source link

Why not support C#'s DLL? #89

Open send010 opened 5 years ago

send010 commented 5 years ago

Why not support C#'s DLL?

sr-tream commented 5 years ago

https://github.com/fancycode/MemoryModule/issues/40

NothingFaceX commented 5 years ago

You don't need it for C# , C# has it already and you can even use https://github.com/Fody/Costura to automate it.

Elmue commented 4 years ago

You question is not clear. Do you want to load a C# assembly or an unmanaged DLL?

1.) C# Assemblies can easily be loaded from memory with Assembly.Load(Byte[]). You do NOT need any Fody project for that, as NothingFaceX says!

2.) If you want to load an unmanaged DLL into a C# process read my comment here: https://github.com/fancycode/MemoryModule/issues/99