HttpRuntimeSection.EnableVersionHeader Property
.NET Framework (current version)
Gets or sets a value that indicates whether ASP.NET should output a version header.
Assembly: System.Web (in System.Web.dll)
<ConfigurationPropertyAttribute("enableVersionHeader", DefaultValue := True)> Public Property EnableVersionHeader As Boolean
Property Value
Type: System.Booleantrue if the output of the version header is enabled; otherwise, false. The default value is true.
This attribute is used by Visual Studio to determine which version of ASP.NET is in use. It is not necessary for production sites and can be disabled.
The following example shows how to use the EnableVersionHeader property.
.NET Framework
Available since 2.0
Available since 2.0
Show: