TCnServiceController.GetDevices(String) Method
Retrieves the device driver services on the specified computer.
public class function GetDevices(MachineName: String): _ServiceControllerArray; overload; static;
Parameters
- MachineName
- Type: String
The computer from which to retrieve the device driver services.
Return Value
Type: _ServiceControllerArray
An array of type ServiceController in which each element is associated with a device driver service on the specified computer.
GetDevices returns only the device driver services from the specified 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.