Two options:
1.Take a look at the DirectoryServices namespace and the IIS provider.
2.System.Management and WMI' class IISWebServer.
1. only works if the client has IIS installed (the clients needs the local
IIS provider to access the remote IIS server).
2. only works when connecting using an account that has remote access to
WMI's namespace MicrosoftIISV2.
WMI remote connections should have PacketPrivacy AuthenticationLevel (see
System.Management.ConnectionOptions).
Willy.
| HI,
| How can I start the default web site of my IIS with C#.
|
|