23
I am trying to use WebClient to download a file from web using a WinForms application. However, I really only want to download HTML file. Any other type I will want to ignore.
I checked the WebResponse.ContentType, but its value is always null.
Anyone have any idea what could be the cause?