Try :
http://msdn.microsoft.com/library/de...6151561f01.asp
(uses System.DirectoryServices) but you'll find also how to do thiw with WMI
or ADSI...
AFAIK the 2.0 should have a programming model to access the IIS metabase...
Patrice
--
"thechaosengine" <na> a écrit dans le message de
news:(E-Mail Removed)...
> Hi all,
>
> Does anyone know of a way I can get information on the status of IIS
including
> what websites and Virtual Roots are defined and whether they are running
> or not.
>
> I'll be using C# in particular and am currently looking into WMI -
something
> that I havent used in the past.
>
> Anyone know if I'm on the right track?
>
> Many thanks
>
> Kindest Regards
>
>