![]() IsapiFilterObj.InvokeSet("FilterLoadOrder", new Object ) Using (ServerManager serverManager = new ServerManager())Ĭonfiguration config = serverManager.GetWebConfiguration("RPlan") ĬonfigurationSection handlersSection = config.GetSection("system.webServer/handlers") following code is derived from IIS 7.0 Configuration Editor directly If (intIisVer.Equals(7) || intIisVer.Equals(7.5)) if IIS is = IIS 7.x then 'Handler Mapping ISAPI-dll' has to be enabled too String LoadOrder = isapiFilterObj.InvokeGet("FilterLoadOrder").ToString() Public static string fnIsapiCreate(string webSiteId, string appPoolName, string isapiName, string physicalPathIsapi)ĭirectoryEntry isapiFilterObj = new DirectoryEntry(strIisW3svc + webSiteId + "/Filters") creates an ISAPI filter inside a website. I have created a tool with ASP.NET, which i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |