Hide Process

C#

MIT License

Download (right click, save as, rename as appropriate)

Embed

1
2
3
4
5
6
7
8
9
var psi = new ProcessStartInfo
                          {
                              WorkingDirectory = @"c:\",
                              FileName = Environment.SystemDirectory + @"\notepad.exe",
                              Arguments = "",
                              WindowStyle = ProcessWindowStyle.Hidden
                          };
Process start = Process.Start(psi);
if (start != null) Processid = start.Id;