remote services

C#:
System.ServiceProcess.ServiceController[] s =  System.ServiceProcess.ServiceController.GetServices("name of computer here");

foreach (System.ServiceProcess.ServiceController sc in s)
    System.Diagnostics.Debug.WriteLine(sc.ServiceName);

should work providing you have the relevant permissions.
 
Back
Top