简体   繁体   中英

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?

The goal is, if on x64 bit machine, check if Framework64/aspnet_isapi.dll allowed, and if not to allow it.

Also, alternatives suggestions will be kindly accepted :)

Microsoft.Web.Administration Namespace should contain all the classes you need to modify the iis7 metabase. Here's the MSDN link with all the reference

http://msdn.microsoft.com/en-us/library/microsoft.web.administration%28VS.90%29.aspx

Hope this helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM