jalojavier
Programmer
Hello,
I am developing a project in C# and i have some troubles with the next:
I have a byte[] that contains a .exe readed/loaded from a FileStream. I want to execute this executable loaded in the byte[] from memory (not pushing it in a .exe and calling it). ¿It is possible?
Someone told me about System.Reflection.Emit and I read something about Assembly.Load(byte[] data), when 'data' is a COFF image of the executable file, but, i only have a "normal" byte[] that contains the bytes of the exe readed from FileStream..
¿Anyone can help me?
Thanks.
I am developing a project in C# and i have some troubles with the next:
I have a byte[] that contains a .exe readed/loaded from a FileStream. I want to execute this executable loaded in the byte[] from memory (not pushing it in a .exe and calling it). ¿It is possible?
Someone told me about System.Reflection.Emit and I read something about Assembly.Load(byte[] data), when 'data' is a COFF image of the executable file, but, i only have a "normal" byte[] that contains the bytes of the exe readed from FileStream..
¿Anyone can help me?
Thanks.