IIS management from C# - class library?

D

Dmitri Shvetsov

Hi All,

Did somebody see a class library or something else like that to manage the
IIS settings - to backup/restore, to change properties, settings, to add
additional or to remove any virtual directories etc.? I need it for a
deployment tool, the admin login/password will be knows, its not a problem.

Dmitri
 
W

Willy Denoyette [MVP]

You have two options here, when running IIS6 , you can use both
System.Management (using the WMI provider) or System.DirectoryServices
(using the ADSI provider). When running IIS5.1 or 5.0 you can only use
System.DirectoryServices.
For more info on the WMI and ADSI providers checkfollowing URL's:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/iis/ref_mof_iiscomputer.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/iis/ref_mof_iiscomputer.asp

Willy.
 

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.

Ask a Question

Top