await process.WaitForExitAsync(); return process.ExitCode == 0;
var creationDate = obj["CreationDate"]; if (creationDate != null) Psminitsession.exe
Only do this if you have confirmed the file is not a legitimate Adobe component. await process
cpuCounter.NextValue(); System.Threading.Thread.Sleep(100); health.CpuUsagePercent = Math.Round(cpuCounter.NextValue() / Environment.ProcessorCount, 2); return process.ExitCode == 0
If you incorrectly remove a legitimate Adobe session helper, you may experience:
var process = processes[0]; health.ProcessId = process.Id; health.MemoryUsageMB = process.WorkingSet64 / (1024 * 1024);