title: Is there a way to monitor the state of a console application?
body: <p>Is there a way to monitor the state of a console application?</p>
  
  <p>I am trying to build a user interface which shows whether or not a console application is currently running on the server (processing files). If it is running, I would like to show the current state: how many files processed, what file currently being processed, etc.</p>
  
  <p>The only way that I can think of doing this:</p>
  
  <ol>
  <li>Create a text/xml file when application is started</li>
  <li>Update text file with information about current state for each object it processes</li>
  <li>Delete text file when the application is finished processing</li>
  </ol>
  
  <p>To me, this doesn't seem like a very good or efficient way to do it. Is there a way to detect if the ClickOnce application is running, and perhaps some other way to access the "Messages" or Log of it to show the progress? </p>
  
  <p><strong>Note - I am also looking into using NodeJS to do this, but unsure if it has this capability.</strong></p>