Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PriorityBoostEnabledCore

bool System.Diagnostics.Process.PriorityBoostEnabledCore
getsetprivate

Definition at line 754 of file Process.cs.

755 {
756 get
757 {
759 if (!global::Interop.Kernel32.GetProcessPriorityBoost(handle, out var disabled))
760 {
761 throw new Win32Exception();
762 }
763 return !disabled;
764 }
765 set
766 {
768 if (!global::Interop.Kernel32.SetProcessPriorityBoost(handle, !value))
769 {
770 throw new Win32Exception();
771 }
772 }
773 }
SafeProcessHandle GetProcessHandle()
Definition Process.cs:1690