Check if a text file exists in ASP.NET
<p>I need to check if a text file exists on a site on a different domain. The URL could be:</p>

<pre><code>http://sub.somedomain.com/blah/atextfile.txt
</code></pre>

<p>I need to do this from code behind. I am trying to use the <code>HttpWebRequest</code> object, but not sure how to do it.</p>

<p><strong>EDIT: I am looking for a light weight way of doing this as I'll be executing this logic every few seconds</strong></p>
