Example #1
0
 public bool Equals(RunningProcess other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(other.Id == Id);
 }
Example #2
0
 public bool Equals(RunningProcess other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.Id == Id;
 }
Example #3
0
 public bool IsAlive(RunningProcess aProcess, int timeOutInMilliseconds)
 {
     var nktProcess = NktProcessFrom(aProcess);
     if (nktProcess == null) return false;
     return nktProcess.get_IsActive(timeOutInMilliseconds);
 }