Check if a remote file exists
<p>When retrieving remote files from a serrver via HTTP, there is one situation where I do not know the exact number of files I fill need to retrieve, incrementing a part of the filename until either the file does not exist or I hit a pre-defined threshold.</p>

<p>What is the best way to test if a remote file exists using C#? Obvisouly I could send a webrequest and see if it times out, but that would not be optimal!</p>
