Can't login into asp.net website with WebClient
问题 I tried to submit form on this site: freeclassifieds, using WebClient that support cookies. My upgraded WebClient: public class CookieWebClient : WebClient { private readonly CookieContainer container = new CookieContainer(); public CookieWebClient(CookieContainer container) { this.container = container; } protected override WebRequest GetWebRequest(Uri address) { WebRequest res = base.GetWebRequest(address); var request = res as HttpWebRequest; if (request != null) { request.CookieContainer