public Iis6WebSite() { Bindings = new[] {new Iis6WebSiteBinding {Port = 80}}; ScriptMapsToAdd = new Iis6ScriptMap[0]; Authentication = new[] {Iis6Authentication.Basic, Iis6Authentication.NTLM}; AppPool = null; Started = true; AccessFlags = Iis6WebSiteAccessFlags.Read; }
private ManagementObject CreateScriptMap(Iis6ScriptMap scriptMap) { ManagementObject newScriptMap = new ManagementClass(Scope, new ManagementPath("ScriptMap"), null).CreateInstance(); newScriptMap["Extensions"] = scriptMap.Extension; newScriptMap["Flags"] = scriptMap.Flags; newScriptMap["IncludedVerbs"] = scriptMap.IncludedVerbs; newScriptMap["ScriptProcessor"] = scriptMap.Executable; return(newScriptMap); }
public Iis6WebSite() { Bindings = new[] { new Iis6WebSiteBinding { Port = 80 } }; ScriptMapsToAdd = new Iis6ScriptMap[0]; Authentication = new[] { Iis6Authentication.Basic, Iis6Authentication.NTLM }; AppPool = null; Started = true; AccessFlags = Iis6WebSiteAccessFlags.Read; }
private ManagementObject CreateScriptMap(Iis6ScriptMap scriptMap) { ManagementObject newScriptMap = new ManagementClass(Scope, new ManagementPath("ScriptMap"), null).CreateInstance(); newScriptMap["Extensions"] = scriptMap.Extension; newScriptMap["Flags"] = scriptMap.Flags; newScriptMap["IncludedVerbs"] = scriptMap.IncludedVerbs; newScriptMap["ScriptProcessor"] = scriptMap.Executable; return newScriptMap; }