Read names of application pools in IIS
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hey folks, Do you guys know how to read the names of application pools in IIS? Which API should I call? Thanks a bunch.
IIS exposes much of its functionality through the iis:// directory service, which you can access using classes defined under the
System.DirectoryServices
namespace. Start by reading the ADSI/WMI property documentation[^] for theAppPoolId
property. See Creating Applications Pools using System.DirectoryServices[^] for a sample that is close to what you require. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]