Top "Webrequest" questions

WebRequest is a abstract class in .NET Framework for making requests to URIs (including HTTP, HTTPS, FTP and FILE protocols).

Does any one know about this error: "Wrong Local header signature: 0x6D74683C"?

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 webrequest
Can I send webrequest from specified ip address with .NET Framework?

I have a server with multi ip addresses. Now I need to communicate with several servers with http protocol. Each …

c# .net ip-address webrequest
System.Net.ProtocolViolationException: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse

I am getting the "System.Net.ProtocolViolationException: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse" …

c# exception webrequest content-length
c# httpwebrequest getResponse() freezes and hangs my program

I was trying to use httpwebrequest to use a rest like service on a remote server and from the first …

c# httpwebrequest webrequest getresponse
c# Webrequest Post and GetResponse

I am writing a program that will submit a XML to a website. The code written works fine, but sometimes …

c# webrequest iasyncresult webresponse
Getting full response body from System.Net.WebRequest

I'm using System.Net.WebRequest to get info from some API. When I get an error, the response contains only …

c# webrequest httpwebresponse
web request in asp.net core

I want to do a web request in a asp.net core project. I tried the following but it doesn't …

c# asp.net-core webrequest
how to change originating IP in HttpWebRequest

I'm running this application on a server that has assigned 5 IPs. I use HttpWebRequest to fetch some data from a …

c# httpwebrequest ip webrequest
C#: Downloading a URL with timeout

What'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.0
C# WebRequest.getResponse(): 400 Bad Request

I am trying to download a file from a server using System.Web. It actually works, but some links give …

c# webrequest bad-request