Click here to Skip to main content
16,007,885 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I met with following requirement,

->Automated windows event which takes server names, and check that server activeness along with that services hosted on that server including services activeness

This needs to be completed by C# on any .NET platform.
Please help me top solve the requirement.

I have completed following piece of code,

->Getting server name and checking its activeness

Thanks in advance.
Posted
Comments
Zoltán Zörgő 27-May-12 13:44pm    
Any progress?

1 solution

Your keyword is WMI. You can start here: http://www.geekpedia.com/tutorial225_Listing-Services-with-Csharp.html[^], and than you can extend it to access remote machines (see Create a Remote Process using WMI in C#[^] for example).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900