discard hidden file system with FileSystemWatcher
<p>How to discard getting notified with files system: e.g: thumbs.db</p>

<p>I have this instance of <code>FileSystemWatcher</code>:</p>

<pre><code>FileSystemWatcher watching = new System.IO.FileSystemWatcher();
watching.Filter = "*.*";
watching.Created += new FileSystemEventHandler(OnChanged);
</code></pre>

<p>In a folder of 'watching', if an image is opened, a </p>

<blockquote>
  <p><code>thumbs.db</code></p>
</blockquote>

<p>file is generated. the program will get stuck with the file image. Off couse, I can discard that file in OnChanged but that is not elegant. How can I discard hidden or files system in the filter?</p>

<p>Thanks in advance.</p>
