how to run windows applcation in Low CPU Usage mode

  • Thread starter Thread starter aa
  • Start date Start date
A

aa

How to write or config windows application, which it is writen with VB.NET,
that when it start it will be in LOW or BELOW NORMAL CPU sage mode.
Thanks
 
To set the processes priority:
Process.GetCurrentProcess().Priority = ProcessPriorityClass.BelowNormal;

To the thread priority:
Thread.CurrentThread.Priority = ThreadPriority.BelowNormal;
 
Back
Top