ListServices Method
List local or remote services.
Syntax
Remarks
This method lists services on the device specified by Address.
This may be used to list services on the local device or a remote device. After calling this method the ServiceCount property will reflect the number of services that were found. To find details for each service set ServiceIndex to select a service. Valid values for ServiceIndex are from 0 to ServiceCount -1.
After setting ServiceIndex the following properties will be populated with information about the service:
Information about the services may also be retrieved from the ServiceInfo event, which will fire once for each service.