ServiceCount Property
The number of services on the device.
Syntax
property ServiceCount: Integer read get_ServiceCount write set_ServiceCount;
Default Value
0
Remarks
This property shows how many services are present on the device.
This property is populated after calling ListServices. Set ServiceIndex from 0 to ServiceCount, and then examine the Service properties such as ServiceAddress, ServiceName, and ServiceClassId to retrieve information about each service.