Process[] oldprocesses = Process.GetProcesses(); if (oldprocesses.Length < Process.GetProcesses()) { Console.WriteLine("A new process was started"); }