Exemplo n.º 1
0
        public static System.Diagnostics.Process[] GetServerProcesses(bool forCurrentUserOnly)
        {
            try
            {
                return(UserProcess.GetProcessesByName(ProcessName, forCurrentUserOnly));
            }
            catch (Exception exception)
            {
                Log.Error(exception);

                return(null);
            }
        }