Hello,
When using VB, I use this code to get the name of all processes currently running;
How can I accomplish the same thing in C#?VB Code:
Dim pro As Variant For Each pro In GetObject("winmgmts:").ExecQuery("Select * from win32_process") Debug.Print pro.Name Next
Thank you.




Reply With Quote