There are a few caveats, but IIS does have an automation API (via COM) that
lets you do many administrative operations.
Caveats include the need to have a C# based scripting language; and not
being able to do this from a partially trusted caller (e.g. code running in
a web service or web site).
I hope this helps
Dan Rogers
Microsoft Corporation
--------------------
>From: "hosi" <hosi12345@hotmail.com>
>Subject: Configure IIS using C#
[quoted text clipped - 8 lines]
>NNTP-Posting-Host: 203.124.166.130
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12
phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:27018
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 8 lines]
>
>Hosi