コード例 #1
0
ファイル: ProcessInfo.cs プロジェクト: ewin66/nucs.Filesystem
 /// <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
ファイル: ProcessInfo.cs プロジェクト: ewin66/nucs.Filesystem
 internal bool Exists()
 {
     return(ProcessFinder.Exists(ProcessSearchMethod.ProcessInfo, this) > 0);
 }