Matt
Matt

Reputation: 1241

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? AppPoolState looks like it only accepts integers.

Upvotes: 4

Views: 1691

Answers (1)

Brandon J. Boone
Brandon J. Boone

Reputation: 16472

Looks like you'd use the same property: Check the status of an application pool (IIS 6) with C#

Upvotes: 2

Related Questions