The AB class included is meant to load a binary array into memory by reading a executable file then using interop to run it in a memory space of a new process.
The AB class should be modified so it can load any executable file (installers, console apps, applications, etc) into memory in a 32bit and 64bit environment.
Essentially the code should determine if the user has 32bit or 64bit then proceed with code that works for that environment. Included in the class is the SRexec(byte[], string) method which takes a binary array and a file path to start the process.
Executing SRexec(notepad[], [login to view URL]); should load notepad into memory in a process created for the executing assembly.
Small modifications to the code are needed to port it over to 64bit and it should be a fairly straight forward process.
The class can be downloaded here:
[login to view URL]
Unzip the package to get the [login to view URL] file, load this file into a new C# Windows Application changing the namespace to match or import it.
Now you can load notepad into memory by calling the SRexec method by:
byte[] Ar = [login to view URL](@"C:\WINDOWS\[login to view URL]");
[login to view URL](Ar, [login to view URL]());
## Deliverables
* * *This broadcast message was sent to all bidders on Monday Apr 12, 2010 11:22:05 PM:
I'm awaiting a good bid on this project, I am looking for a bid under $200. If you have any questions let me know. Thanks