示例#1
0
 /// <summary>
 /// Attemts to find the process using the function <see cref="ProcessFinder.FindProcess"/>. If not found, null is returned
 /// </summary>
 /// <returns></returns>
 internal Process ToProcess()
 {
     return(ProcessFinder.Find(ProcessSearchMethod.ProcessInfo, this).FirstOrDefault());
 }
示例#2
0
 internal bool Exists()
 {
     return(ProcessFinder.Exists(ProcessSearchMethod.ProcessInfo, this) > 0);
 }