Process thisProcess = System.Diagnostics.Process.GetCurrentProcess(); thisProcess.PriorityClass = ProcessPriorityClass.RealTime;