R Roger Jun 23, 2004 #1 I would like to get a list of services on a remote computer. Is this possible via code in VB.Net? Thanks, Rog
I would like to get a list of services on a remote computer. Is this possible via code in VB.Net? Thanks, Rog
J Jay B. Harlow [MVP - Outlook] Jun 23, 2004 #2 Roger, Window Services or Web Services. For Windows Services have you tried: System.ServiceProcess.ServiceController.GetServices? The GetServices is overloaded to retrieve both services local to the machine, and services on a remote machine. Dim services() As ServiceController services = ServiceController.GetServices("MyServer") Hope this helps Jay
Roger, Window Services or Web Services. For Windows Services have you tried: System.ServiceProcess.ServiceController.GetServices? The GetServices is overloaded to retrieve both services local to the machine, and services on a remote machine. Dim services() As ServiceController services = ServiceController.GetServices("MyServer") Hope this helps Jay