[英]C# allow on IIS7 ISAPI and CGI Restrictions aspnet_isapi.dll x64 bit
Is it possible from C# code manipulate IIS7 ISAPI and CGI Restrictions?是否可以从 C# 代码操作 IIS7 ISAPI 和 CGI 限制?
The goal is, if on x64 bit machine, check if Framework64/aspnet_isapi.dll allowed, and if not to allow it.目标是,如果在 x64 位机器上,检查是否允许 Framework64/aspnet_isapi.dll,如果不允许。
Also, alternatives suggestions will be kindly accepted :)此外,将欣然接受替代建议:)
Microsoft.Web.Administration Namespace should contain all the classes you need to modify the iis7 metabase. Microsoft.Web.Administration 命名空间应包含修改 iis7 元数据库所需的所有类。 Here's the MSDN link with all the reference
这是包含所有参考的 MSDN 链接
http://msdn.microsoft.com/en-us/library/microsoft.web.administration%28VS.90%29.aspx http://msdn.microsoft.com/en-us/library/microsoft.web.administration%28VS.90%29.aspx
Hope this helps希望这可以帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.