C
C#16mo ago
mrdudebro1

Inheriting classes documentation

Hi all, I have documentation for HttpContent class here https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent?view=net-7.0, but it's abstract and can't use it. How do I find the classes that inherit from HttpContent? Thanks.
HttpContent Class (System.Net.Http)
A base class representing an HTTP entity body and content headers.
2 Replies
Thinker
Thinker16mo ago
there are ByteArrayContent, StringContent, StreamContent, etc. They all end in Content so they're pretty easy to find, and they're all in the System.Net.Http namespace
mrdudebro1
mrdudebro1OP16mo ago
fair enough thank you!

Did you find this page helpful?