In The Hand LtdIn The Hand
GetDevices Method
NamespacesInTheHand.ServiceProcessServiceControllerGetDevices()()()()
.NET Components for Mobility
Retrieves the device driver services on the local computer.
Declaration Syntax
C#Visual Basic
public static ServiceController[] GetDevices()
Public Shared Function GetDevices As ServiceController()
Return Value
An array of type ServiceController in which each element is associated with a device driver service on the local computer.
Remarks
GetDevices returns only the device driver services from the local computer. To retrieve the non-device driver services or services that are not drivers, call the GetServices()()()() method. Together, the two methods provide access to all the services on a computer.
See Also

Assembly: InTheHand.ServiceProcess (Module: InTheHand.ServiceProcess) Version: 7.0.0.0