WebRequest is a abstract class in .NET Framework for making requests to URIs (including HTTP, HTTPS, FTP and FILE protocols).
The following code is used to download a zip file and unzip it on phone. The same code used to …
c# windows-phone-7 download windows-phone-8 webrequestI have a server with multi ip addresses. Now I need to communicate with several servers with http protocol. Each …
c# .net ip-address webrequestI am getting the "System.Net.ProtocolViolationException: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse" …
c# exception webrequest content-lengthI was trying to use httpwebrequest to use a rest like service on a remote server and from the first …
c# httpwebrequest webrequest getresponseI am writing a program that will submit a XML to a website. The code written works fine, but sometimes …
c# webrequest iasyncresult webresponseI'm using System.Net.WebRequest to get info from some API. When I get an error, the response contains only …
c# webrequest httpwebresponseI want to do a web request in a asp.net core project. I tried the following but it doesn't …
c# asp.net-core webrequestI'm running this application on a server that has assigned 5 IPs. I use HttpWebRequest to fetch some data from a …
c# httpwebrequest ip webrequestWhat's the best way to do it in .NET? I always forget what I need to Dispose() (or wrap with …
c# httpwebrequest timeout webrequest .net-3.0I am trying to download a file from a server using System.Web. It actually works, but some links give …
c# webrequest bad-request