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)
public: [ConfigurationPropertyAttribute("enableVersionHeader", DefaultValue = true)] property bool EnableVersionHeader { bool get(); void set(bool value); }
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: