+
+ internal string VersionHeader {
+ get {
+ if (!version_header_checked && version_header == null) {
+ version_header_checked = true;
+#if NET_2_0
+ HttpRuntimeSection config = WebConfigurationManager.GetWebApplicationSection ("system.web/httpRuntime") as HttpRuntimeSection;
+#else
+ HttpRuntimeConfig config = HttpContext.GetAppConfig ("system.web/httpRuntime") as HttpRuntimeConfig;
+#endif
+ if (config != null && config.EnableVersionHeader)
+ version_header = Environment.Version.ToString (3);
+ }
+
+ return version_header;
+ }
+ }
+
+ internal string[] FileDependencies {
+ get {
+ if (fileDependencies == null || fileDependencies.Count == 0)
+ return new string[0] {};
+ return (string[]) fileDependencies.ToArray (typeof (string));
+ }
+ }
+
+ ArrayList FileDependenciesArray {
+ get {
+ if (fileDependencies == null)
+ fileDependencies = new ArrayList ();
+ return fileDependencies;
+ }
+ }