Performing periodic audits and best practice
<p>I'm doing a windows form and would like an audit task to happen every 30 seconds.  This audit is essentially checking a series of services on remote computers and reporting back into a richtextbox the status.</p>

<p>Current I have this running in an endless background thread and using an invoker to update the richtextbox in the main form.</p>

<p>Is this best practice?  If I made an endless loop in my main form that would prevent any of my buttons from working, correct?</p>

<p>I'm just curious if every time I want to create a periodic audit check I have to create a new thread which checks the status or file or what have you? </p>

<p>Edit: I looked further into the Timer class and decided to go with <a href="http://msdn.microsoft.com/en-us/library/system.timers.timer.aspx" rel="nofollow">System Timer</a> as it proved to be better with a longer function.  Thanks for pointing me in the right direction.</p>
