for those interested:
System.Net.ServicePointManager.DefaultConnectionLimit = x
(where x is your desired number of connections)
no need for extra references
just make sure this is called BEFORE the service point is created as mentioned above in the post.
More Related Contents:
- Maximum concurrent requests for WebClient, HttpWebRequest, and HttpClient
- HEAD with WebClient?
- Instantly detect client disconnection from server socket
- Automatically decompress gzip response via WebClient.DownloadData
- Is there a memory limit for a single .NET process
- WebClient.DownloadString results in mangled characters due to encoding issues, but the browser is OK
- Converting Raw HTTP Request into HTTPWebRequest Object
- HTTP POST Returns Error: 417 “Expectation Failed.”
- WebClient vs. HttpWebRequest/HttpWebResponse
- When is an HTTP response finished?
- What is the best way to read GetResponseStream()?
- Add Expires or Cache Control Header to static content in IIS
- How to post a file via HTTP post in vb.net
- How can I force a hard refresh (ctrl+F5)?
- Handling Dialogs in WPF with MVVM
- Max number of concurrent HttpWebRequests
- .NET Format a string with fixed spaces
- Making a cURL call in C#
- ITextSharp HTML to PDF?
- Login failed for user ‘DOMAIN\MACHINENAME$’
- Disabling .NET progressbar animation when changing value?
- Why does a Linq Cast operation fail when I have an implicit cast defined?
- What is the GAC in .NET?
- WinRT/UWP Frame and Page caching: How to create new page instance on Navigate() and keep the page instance on GoBack()
- Browsing the .NET Framework source code from Visual Studio
- Windows 7 theme for WPF?
- How do I fill an empty textbox with default text?
- Custom WCF DataContractSerializer
- .NET Date Compare: Count the amount of working days since a date?
- Found conflicts between different versions of the same dependent assembly that could not be resolved