Hi iam simon,
i want to ask how can inject dll contained in my resource of my vb.net application into remote process without writing the dll to disk
but LoadLibrary Needs the path of dll so how can i inject dll byte array into remote process in vb.net or c# ?
Welcome to the MSDN Forum.
Please refer to this method: http://msdn.microsoft.com/en-us/library/h538bck7.aspx
Loads the assembly with a common object file format (COFF)-based image containing an emitted assembly. The assembly is loaded into the application
domain of the caller.
You can pass the byte data of the assembly to the load function.
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.