.NET 4.5 HttpClient ServicePoint Request

I have always used so far:

HttpWebRequest request = (HttpWebRequest)WebRequest.Create(targetUri);

do the request
.................
request.ServicePoint. 

Now I would like to use the new HttpClient from .net 4.5, and I do not know how to access the ServicePoint properties.

Any ideas how I can access ServicePoint using HttpClient?

+4
source share
1 answer

I believe that you will need to use the ServicePointManager to do what you want. Sort of:

ServicePointManager.FindServicePoint(targetUri)
+2
source

All Articles