can I check if a file exists at a URL?
If you’re attempting to verify the existence of a web resource, I would recommend using the HttpWebRequest class. This will allow you to send a HEAD request to the URL in question. Only the response headers will be returned, even if the resource exists. var url = “http://www.domain.com/image.png”; HttpWebResponse response = null; var request = …