Does the WebClient class support changing the method to HEAD?
I like the simplicity of using this clas开发者_如何学运维s but if it's not that flexible then I will simply switch over to using the full-fledged HttpWebRequest and Response classes.
Marc Gravell suggested a solution to a similar problem, using a subclass.
精彩评论