HttpResponseBase.HeadersWritten Property


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

[Supported in the .NET Framework 4.5.2 and later versions]

Gets a value indicating whether the response headers have been written.

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

public virtual bool HeadersWritten { get; }

Property Value

Type: System.Boolean

true if the response headers have been written; otherwise, false.

.NET Framework
Available since 4.5.2
Return to top