C# polling to monitor folder
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/13918550/c-sharp-to-loop-through-folder-until-it-finds-the-correct-files">C# to loop through folder until it finds the correct files</a>  </p>
</blockquote>



<p>Is it possible to use c# polling to monitor a folder for "required" files? I am running a batch file which requires certain files to be in the folder. If the files are not there and batch job cancels automatically. I am just wondering if I can use ploling to monitor the folder and once they are available I would like the batch file to continue. Thanks</p>
