Edward Ferron [mailto:[EMAIL PROTECTED]] wrote:
> How do you GetObject("IIS://servername/w3svc") in C#?
Have a look at the System.DirectoryServices namespace.
> How do you create a virtual directory in C# for IIS?
I provided a sample for this very thing in the list's archives[1].
HTH,
Drew
[1] http://discuss.develop.com/archives/wa.exe?A2=ind0103D&L=DOTNET&P=R28148
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.