コード例 #1
0
 public Process GetEslProcess()
 {
     try
     {
         if ((eslProcess == null) ||
             (eslProcess.HasExited))
         {
             eslProcess = processWrapper.GetProcessesByName(ESLExeProcessName).FirstOrDefault();
         }
     }
     catch (Exception ex)
     {
         Logger.Info(ex, "Exception while getting ESL process");
     }
     return(eslProcess);
 }