tagged [webrequest]
Making a web request to a web page which requires windows authentication
Making a web request to a web page which requires windows authentication I am trying to make a request to a web page using WebRequest class in .net. The url that I am trying to read requires Windows A...
- Modified
- 26 Aug at 07:48
Starting async method as Thread or as Task
Starting async method as Thread or as Task I'm new to `C#`s `await/async` and currently playing around a bit. In my scenario I have a simple client-object which has a `WebRequest` property. The client...
- Modified
- 15 Jan at 09:37
Test if a website is alive from a C# application
Test if a website is alive from a C# application I am looking for the best way to test if a website is alive from a C# application. ### Background My application consists of a , a backend and a to pub...
- Modified
- 20 Jun at 09:12
HttpWebRequest.GetRequestStream() breaks by timeout on SSL connection under Windows 7/Vista
HttpWebRequest.GetRequestStream() breaks by timeout on SSL connection under Windows 7/Vista I have an C# windows application (.Net 3.0 Framework) that makes a call to PHP web service using `HttpWebReq...
- Modified
- 24 Dec at 16:0
How to get website title from c#
How to get website title from c# I'm revisiting som old code of mine and have stumbled upon a method for getting the title of a website based on its url. It's not really what you would call a stable m...
- Modified
- 30 Nov at 20:23
How can I do digest authentication with HttpWebRequest?
How can I do digest authentication with HttpWebRequest? Various articles ([1](https://web.archive.org/web/20211020134945/https://www.4guysfromrolla.com/articles/102605-1.aspx), [2](https://web.archive...
- Modified
- 5 Nov at 09:12
What makes this HTTPS WebRequest time out even though it works in the browser?
What makes this HTTPS WebRequest time out even though it works in the browser? Here's my request: ``` var request = (HttpWebRequest) WebRequest.Create("https://mtgox.com/"); request.CookieContainer = ...
- Modified
- 9 Dec at 14:10
HttpWebRequest: Add Cookie to CookieContainer -> ArgumentException (Parametername: cookie.Domain)
HttpWebRequest: Add Cookie to CookieContainer -> ArgumentException (Parametername: cookie.Domain) I'm trying to login to a website via my application. What I did: First I figured out how the browser d...
- Modified
- 6 Sep at 23:13
Reading data from an open HTTP stream
Reading data from an open HTTP stream I am trying to use the .NET WebRequest/WebResponse classes to access the Twitter streaming API here `"http://stream.twitter.com/spritzer.json"`. I need to be able...
- Modified
- 15 Nov at 15:52
Multithreading a large number of web requests in c#
Multithreading a large number of web requests in c# I have an program where I need to create some large number of folders to an external sharepoint site (external meaning I can't use the sharepoint ob...
- Modified
- 25 Nov at 14:26
C#.net Web Request could not get 404 custom error message while calling web API but postman does
C#.net Web Request could not get 404 custom error message while calling web API but postman does I am calling external Web API in my own Web API using ServiceStack. For the unsubscribed user, external...
- Modified
- 13 Dec at 09:4
How to calculate HttpWebRequest spent outbound and inbound internet traffic
How to calculate HttpWebRequest spent outbound and inbound internet traffic I have the below function to fetch a page. My question is i want to calculate how much internet connection is spent Both inb...
- Modified
- 6 Sep at 11:35
Getting full response body from System.Net.WebRequest
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 the basic HttpStatusCode and message, a...
- Modified
- 24 Aug at 09:18
Downloading pdf file using WebRequests
Downloading pdf file using WebRequests I'm trying to download a number of pdf files automagically given a list of urls. Here's the code I have: ``` HttpWebRequest request = (HttpWebRequest)WebRequest....
- Modified
- 10 Aug at 12:9
Mono https webrequest fails with "The authentication or decryption has failed"
Mono https webrequest fails with "The authentication or decryption has failed" I'm making a simple REST client to use in my C# applications. In .net on Windows It works great with http:// and https://...
- Modified
- 26 Dec at 11:45
HttpWebRequest times out on second call
HttpWebRequest times out on second call Why does the following code Timeout the second (and subsequent) time it is run? The code hangs at: and then causes a WebException saying that the request has ti...
- Modified
- 29 Apr at 04:36
Does any one know about this error: "Wrong Local header signature: 0x6D74683C"?
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 work on WP7, I started te...
- Modified
- 30 Apr at 11:6
WebRequest fails to download large files (~ 1 GB) properly
WebRequest fails to download large files (~ 1 GB) properly I am attempting to download a large file from a public URL. It seemed to work fine at first but 1 / 10 computers seem to timeout. My initial ...
- Modified
- 15 Dec at 15:30
C# Getting proxy settings from Internet Explorer
C# Getting proxy settings from Internet Explorer i have a problem in certain company in germany. They use proxy in their network and my program cant communicate with server. IE works with this setting...
- Modified
- 10 Jan at 17:57