HttpResponseMessage.Content Property

.NET Framework (current version)

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

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 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top