C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,201 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have this .exe in the resources.
Is it possible to run the executable with arguments without saving it in the user computer?
Is it possible to run the executable with arguments without saving it in the user computer?
This test worked for me (Windows 10 21H1, 32-bit exe inside 32-bit, tested without parameters) :
byte[] byteExeFile = Properties.Resources.ExeFile;
string sHost = Assembly.GetEntryAssembly().Location;
CMemoryExecute.Run(byteExeFile, sHost, "");
with CMemoryExecute.cs
by replacing SW_HIDE by SW_SHOW