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? AppPoolState 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#
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.