Exemple #1
0
 void EndAfter(int durationSeconds)
 {
     processTerminated.Reset();
     processTerminated.WaitOne(durationSeconds * 1000);
     lstIDs.ForEach(pid => spyMgr.TerminateProcess(pid, 0));
 }