check a Website running in IIS 6.0
hi friends,,,
I want to develop a control pannel which deals with a remote 11s 6.0. Through that control pannel i should create a site, delete, start, stop, backup. I am planning a website with C# code behind.
Since I am not that much into C# developement. Please help me in developing this site..
First I want to know how to excecute a commandline (windows command) form C#.
And the Second is I want want to know the C# equivalent for GetObject method in VB 6.0.
Pls give me some examples if u can which may help me a lot.
Any peice of information will be great for me,,
Thanks in Advance,
Manu B.:wave:
Re: check a Website running in IIS 6.0
You don't need the command line to manage IIS. You can use LDAP or WMI to manage IIS 6.0:
Using LDAP
http://www.google.co.za/search?q=iis+6.0+ldap
http://www.microsoft.com/technet/pro...fb2972703.mspx
Using WMI
http://www.google.co.za/search?q=iis+6.0+wmi
http://www.microsoft.com/technet/pro...06687f357.mspx
As for GetObject... Add a COM reference, which will in turn generate an interop assembly for you (which interacts with the COM object you need) - which you use through C#.
Re: check a Website running in IIS 6.0