using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.DirectoryServices;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
//注意网站 与 虚拟目录的属性不一样的 path不同
DirectoryEntry dir = new DirectoryEntry("IIS://localhost/w3svc");
foreach (string elmentName in dir.Properties.PropertyNames)
{
PropertyValueCollection valueCollection = dir.Properties[elmentName];
for (int i = 0; i < valueCollection.Count; i++)
{
this.Response.Write(elmentName + "[" + i.ToString() + "] =" + valueCollection[i].ToString() + "<br/>");
}
}
}
}
AllowKeepAlive[0] =True
AppAllowClientDebug[0] =False
AppAllowDebugging[0] =False
AspAllowOutOfProcComponents[0] =True
AspAllowSessionState[0] =True
AspAppServiceFlags[0] =0
AspBufferingLimit[0] =4194304
AspBufferingOn[0] =True
AspCalcLineNumber[0] =True
AspCodepage[0] =0
AspEnableApplicationRestart[0] =True
AspEnableAspHtmlFallback[0] =False
AspEnableChunkedEncoding[0] =True
AspEnableParentPaths[0] =True
AspEnableTypelibCache[0] =True
AspErrorsToNTLog[0] =False
AspExceptionCatchEnable[0] =True
AspExecuteInMTA[0] =0
AspKeepSessionIDSecure[0] =0
AspLCID[0] =2048
AspLogErrorRequests[0] =True
AspMaxDiskTemplateCacheFiles[0] =2000
AspMaxRequestEntityAllowed[0] =204800
AspProcessorThreadMax[0] =25
AspQueueConnectionTestTime[0] =3
AspQueueTimeout[0] =-1
AspRequestQueueMax[0] =3000
AspRunOnEndAnonymously[0] =True
AspScriptEngineCacheMax[0] =250
AspScriptErrorSentToBrowser[0] =True
AspScriptFileCacheSize[0] =500
AspScriptTimeout[0] =90
AspSessionMax[0] =-1
AspSessionTimeout[0] =20
AspTrackThreadingModel[0] =False
AuthFlags[0] =5
CacheISAPI[0] =True
CentralBinaryLoggingEnabled[0] =False
CGITimeout[0] =300
ConnectionTimeout[0] =120
ContentIndexed[0] =True
DirBrowseFlags[0] =1073741886
DownlevelAdminInstance[0] =1
IIs5IsolationModeEnabled[0] =False
LogExtFileFlags[0] =2199503
LogFilePeriod[0] =1
LogFileTruncateSize[0] =20971520
LogInUTF8[0] =False
LogType[0] =1
MaxConnections[0] =-1
MaxGlobalBandwidth[0] =-1
MinFileBytesPerSec[0] =240
PasswordChangeFlags[0] =6
AnonymousUserName[0] =IUSR_WENWEIFENG
AnonymousUserPass[0] =;d/Y)f5((+20(?
AppPoolId[0] =DefaultAppPool
AspScriptErrorMessage[0] =处理 URL 时服务器出错。请与系统管理员联系。
本新闻共5页,当前在第1页 1 2 3 4 5
