Content Property

HttpResponseMessage.Content Property

.NET Framework 4.6 and 4.5

Gets or sets the content of a HTTP response message.

Namespace:   System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public HttpContent Content { get; set; }

Property Value

Type: System.Net.Http.HttpContent

Returns HttpContent.

The content of the HTTP response message.

The contents of an HTTP response message corresponds to the entity body defined in RFC 2616.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft