Thomas Harris
Thomas Harris

Reputation: 434

Active connections with HTTPClient C#

I have a problem which I think is related to active connections in the httpclient as documented here

http://alexandrebrisebois.wordpress.com/2013/03/24/why-are-webrequests-throttled-i-want-more-throughput/

I need to prove this, how can I get a list of current active connections to a particular url from my application.

Upvotes: 1

Views: 2682

Answers (1)

Sam Harwell
Sam Harwell

Reputation: 99859

The number of "active" connections is not a clearly defined value. You can get the number of currently established connections from the ServicePoint.CurrentConnections property.

Upvotes: 2

Related Questions