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 post data to specific URL using WebClient in C#

I need to use "HTTP Post" with WebClient to post some data to a specific URL I have. Now, I …

c# post webclient
"A connection attempt failed because the connected party did not properly respond after a period of time" using WebClient

I am using the following code which is working on local machine, but when i tried the same code on …

c# sockets webclient
How to get a json string from url?

I'm switching my code form XML to JSON. But I can't find how to get a JSON string from a …

c# json facebook linq-to-xml webclient
HTTP POST Returns Error: 417 "Expectation Failed."

When I try to POST to a URL it results in the following exception: The remote server returned an error: (417) …

c# .net http http-post webclient
How to change the timeout on a .NET WebClient object

I am trying to download a client's data to my local machine (programatically) and their webserver is very, very slow …

c# .net file download webclient
POSTing JSON to URL via WebClient in C#

I have some JavaScript code that I need to convert to C#. My JavaScript code POSTs some JSON to a …

c# webclient
What difference is there between WebClient and HTTPWebRequest classes in .NET?

What difference is there between the WebClient and the HttpWebRequest classes in .NET? They both do very similar things. In …

c# .net httpwebrequest webclient
Deciding between HttpClient and WebClient

Our web app is running in .Net Framework 4.0. The UI calls controller methods through ajax calls. We need to consume …

c# .net rest webclient dotnet-httpclient
Login to website, via C#

I'm relatively new to using C#, and have an application that reads parts of the source code on a website. …

c# httpwebrequest webclient
Using CookieContainer with WebClient class

I've previously used a CookieContainer with HttpWebRequest and HttpWebResponse sessions, but now, I want to use it with a WebClient. …

c# cookies httpwebrequest webclient cookiecontainer