List Info

Thread: C-Sharp (C#) Group: Re: PID of an active connection




C-Sharp (C#) Group: Re: PID of an active connection
user name
2005-12-20 23:19:49
You can get all of the processes that are currently running
on a
computer using the following snippet

Process[] procs;
procs = Process.GetProcesses();

foreach(Process proc in procs)
{
    proc.Refresh(); 
    string pid = proc.Id.ToString(); 
}

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )