Hi Willy,
Your suggestion (DirectoryServices) worked fine on w2003 ... But I
need the same thing on a w2000 server (on which it crashed ...).
I am still searching for a solution in the System.Management classes
.... but so far so ... bad. Thanks in advance!
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message news:<Ob**************@tk2msftngp13.phx.gbl>...
Yes, check
Using System.DirectoryServices to Configure IIS in msdn.
The same can be done using the System.Management classes.
Willy.
"Gogutz" <go*******@hotmail.com> wrote in message
news:2d**************************@posting.google.c om... Hi: Is ther a way to check at runtime if a certain virtual directory
already exists on a certain machine? Thanks in advance. PS: I use C#,
VS 2003, .NET Framework 1.1, W2003.