HttpWebResponse.SupportsHeaders Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value that indicates if headers are supported.

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

public override bool SupportsHeaders { get; }

Property Value

Type: System.Boolean

Returns Boolean.

true if headers are supported; otherwise, false.

This property is always true for .NET Framework 4.5.

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