简体   繁体   English

C# 允许 IIS7 ISAPI 和 CGI​​ 限制 aspnet_isapi.dll x64 位

[英]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.

相关问题 ASP.NET-aspnet_isapi.dll如何构造页面类 - ASP.NET - how does aspnet_isapi.dll construct page class 生成英特尔兼容的x64位dll(C#) - generate Intel compatible x64 bit dll (C#) 为 IIS7 创建等效于 ISAPI 扩展的内容 - Creating what is equivalent to an ISAPI extension for IIS7 p /从x64机器上运行的C#程序调用32位dll - p/invoke a 32-bit dll from a C# program running on an x64 machine 修改ISAPI和CGI扩展 - Modify ISAPI and CGI extensions 使用64位dll时C#.Net X64应用程序崩溃 - C#.Net X64 Application crash when using 64bit dll VisualStudio C#x64,为什么AddReference选项,.NET选项卡指向x86 DLL而不是x64? - VisualStudio C# x64, why AddReference option, .NET tab points to x86 DLL instead of x64? 图像Isapi过滤器设置,可从64位参数中调整图像大小 - Images Isapi filter settings to resize images from parameter in 64 bit 在 .NET C# 应用程序 (WinForms) 中使用 ActiViz 时如何定位 x64(64 位)平台 - How to target x64 (64 bit) platform while using ActiViz in a .NET C# application (WinForms) 在64位计算机上基于AnyCPU vs x64平台构建的C#应用​​程序的性能 - Performance of a C# application built on AnyCPU vs x64 platform on a 64 bit machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM