+2  A: 

Yes. There are both Win32 and .NET APIs. Typically, though, normal processes/threads can only reduce their priority. You need to be privileged to elevate your priority.

Win 32 API

.NET API

tvanfosson
A: 

The Win32 APIs for setting priority are:

SetThreadPriority ( http://msdn.microsoft.com/en-us/library/aa394494.aspx ) and

SetPriorityClass ( http://msdn.microsoft.com/en-us/library/ms686219(VS.85).aspx )

The SetPriorityClass selects the range of priorities available to a process and the SetThreadPriority sets the relative priority within the class.

obviously you need the appropriate access rights to change the priority.

Nir