GetProcessByPID problem

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello, everyone!

Id like to introduce you to my problem=)

It is caused by using function GetProcessByPid(System.Diagnostics.Process) in project that verifying if there is more than one process with the same name registered in the System.

That function works a lot of time...About 1000ms each time. The whole Loop contains about 60 times -> so total time ~ 1min.

Whats the problem?Is it normal?

Thank You



View the full article
 
Back
Top