Can’t find how to use HttpContent

I am trying to use HttpContent:

HttpContent myContent = HttpContent.Create(SOME_JSON);

…but I am not having any luck finding the DLL where it is defined.

First, I tried adding references to Microsoft.Http as well as System.Net, but neither is in the list. I also tried adding a reference to System.Net.Http but the HttpContent class is not available.

So, can anyone tell me where I can find the HttpContent class?

6 Answers
6

Leave a Comment