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;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top