/// <summary> /// Configures the current process with a low priority and no boost /// </summary> public static ProcessTuning MakeLowPriorityProcess() { var result = new ProcessTuning { IsPriorityBoostEnabled = false, PriorityClass = ProcessPriorityClass.BelowNormal }; return(result); }
/// <summary> /// Configures the current process with a high priority /// </summary> public static ProcessTuning MakeHighPriorityProcess() { var result = new ProcessTuning { IsPriorityBoostEnabled = true, IsHigherPriorityAllowed = true, PriorityClass = ProcessPriorityClass.AboveNormal }; return(result); }