Example #1
0
 public bool IsChildOf(TrackedProcess process)
 {
     return(ParentProcessId == process.ProcessId && Started > process.Started && (process.Ended == 0 || Started < process.Ended));
 }
Example #2
0
 public bool IsParentOf(TrackedProcess process)
 {
     return(process.ParentProcessId == ProcessId && process.Started > Started && (Ended == 0 || Ended > process.Started));
 }