Link to home
Start Free TrialLog in
Avatar of CreepGin
CreepGin

asked on

How do I set the process priorty within my application?

I'm coding an app in C# under Windows Environment  that does very heavy load of calculations on a computer for a long period of time. I want to set its process priority to high.

I can do this manually in Task Manager by right-clicking on the process name and selecting "Set Priority". But, can I do this automatically in my program? If so, how?

Thanks a lot!
ASKER CERTIFIED SOLUTION
Avatar of darenceang
darenceang

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CreepGin
CreepGin

ASKER

Thank you guys so much!