IIS6 App Pool state
I was wondering if there is a way to capture the state of an IIS6 App Pool using DirectoryEntry in C#?
I have seen people use AppPoolState for IIS7 but is there an equivalent that will work for IIS6? Or do I need to use a different namespace?
EDIT: Is there anything that will display a string for status? Ap开发者_开发知识库pPoolState looks like it only accepts integers.
Looks like you'd use the same property: Check the status of an application pool (IIS 6) with C#
精彩评论