I'd like to know how to determine what applications are running in the Windows using C#? And, how to determine which is the current? What function or API should be used?