Click to See Complete Forum and Search --> : How to determine what applications are running?


ngcc
July 3rd, 2002, 02:45 AM
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?

CPCericola
July 7th, 2002, 07:14 PM
I believe this would need to be done with the PlatformSDK using EnumProcesses. Here's a link to it.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/psapi_5kqb.asp

Best of luck!