Use System.Management (WMI) and query the Win32_Process tree, or PInvoke the WTS API's (W2K3 and XP) or PInvoke the OpenProcessToken
using the process handle returned by GetProcesses.
Willy.
Rainer Worbis wrote:
|| How is it possible to get the user thats running a process retrieved
|| by System.Diagnostics.Process.getProcesses() ?
||
|| Rainer
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.