Top "Webclient" questions

WebClient is a class for .NET Framework applications that provides methods for sending and receiving data from a resource identified by a URI.

How to specify SSL protocol to use for WebClient class

I have an application that sends data to a server using an HTTPS POST. I use a System.Net.WebClient …

c# .net ssl webclient
How do I check a WebClient Request for a 404 error

I have a program I'm writing that downloads to files. The second file is not neccassary and is only some …

c# webclient
WebClient.DownloadString results in mangled characters due to encoding issues, but the browser is OK

The following code: var text = (new WebClient()).DownloadString("http://export.arxiv.org/api/query?search_query=au:Freidel_L*&…

.net unicode utf-8 webclient
WebClient 403 Forbidden

I can download this by hand in IE. http://scholar.google.com/scholar.ris?q=info:j8ymU9rzMsEJ:scholar.…

c# webclient
How do I log into a site with WebClient?

I want to download something using a WebClient object in C#, but the download domain requires me to be logged …

c# login webclient
Is it possible to transfer authentication from Webbrowser to WebRequest

I'm using webbrowser control to login any site. And then i want to download some sub page html using WebRequest (…

c# httpwebrequest webbrowser-control webclient
WebClient - The remote server returned an error: (403) Forbidden

Opening a public page from browser works fine. Downloading same page using WebClient throws - (403) Forbidden. What is going on …

c# webclient
How do I Async download multiple files using webclient, but one at a time?

It has been surprisingly hard to find a code example of downloading multiple files using the webclient class asynchronous method, …

c# asynchronous webclient
WebClient Unicode - Which UTF8?

When I create a WebClient to consume some RESTful xml, I can specify the unicode encoding 2 ways: WebClient wc = new …

c# .net unicode utf-8 webclient
WebProxy error: Proxy Authentication Required

I use the following code to obtaing html data from the internet: WebProxy p = new WebProxy("localproxyIP:8080", true); p.Credentials = …

c# .net webclient networkcredentials webproxy