HttpResponse.HeadersWritten Property


[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 bool HeadersWritten { get; internal set; }

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