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.

Best practices for using ServerCertificateValidationCallback

I am working on a project that uses some HTTP communication between two back-end servers. Servers are using X509 certificates …

c# .net web-services ssl webclient
Using WebClient or WebRequest to login to a website and access data

I'm trying to access restricted data on a website using WebClient/WebRequest. There is no official API in that website, …

c# login webclient forms webrequest
ASP.NET Controller: An asynchronous module or handler completed while an asynchronous operation was still pending

I have a very simple ASP.NET MVC 4 controller: public class HomeController : Controller { private const string MY_URL = "http://smthing"; …

c# .net asp.net-mvc-4 async-await webclient
Requesting html over https with c# Webclient

I am attempting various html resources via c# WebClient class from a site I have no control over. When I …

c# ssl https webclient
WebClient generates (401) Unauthorized error

I have the following code running in a windows service: WebClient webClient = new WebClient(); webClient.Credentials = new NetworkCredential("me", "12345", "evilcorp.…

c# webclient download
How to retrieve JSON Response from a javax.ws.rs.core.Response response?

I am making a request to an API and getting a response status code of 200. Response of the api includes …

java web-services jax-ws jax-rs webclient
The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF, In WinForms?

I am trying to use a WebClient / HttpWebRequest to download some data from a server. I use the following code …

c# winforms httpwebrequest webclient system.net.webexception
How to check if System.Net.WebClient.DownloadData is downloading a binary file?

I am trying to use WebClient to download a file from web using a WinForms application. However, I really only …

c# file download webclient