ProcessPriorityClass.High : ProcessPriorityClass « System.Diagnostics « C# / C Sharp by API






ProcessPriorityClass.High

 
using System;
using System.Diagnostics;

class MainClass
{
   public static void Main()
   {
      Process thisProc = Process.GetCurrentProcess();
      thisProc.PriorityClass = ProcessPriorityClass.High;
      Console.WriteLine("    new priority class: {0}", thisProc.PriorityClass);
   }
}

   
  








Related examples in the same category