Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Read names of application pools in IIS

Read names of application pools in IIS

Scheduled Pinned Locked Moved C#
windows-adminjsontutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Johny Ng
    wrote on last edited by
    #1

    Hey folks, Do you guys know how to read the names of application pools in IIS? Which API should I call? Thanks a bunch.

    H 1 Reply Last reply
    0
    • J Johny Ng

      Hey folks, Do you guys know how to read the names of application pools in IIS? Which API should I call? Thanks a bunch.

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      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 the AppPoolId 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]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups