Siva: Possibly not, /IIRC/ websites in the IIS control panel can
be 'started' or 'stopped', meaning they're either being served, or they
aren't by the server.
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#.
|
|
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.