ServiceName Property
A name for a service. When set, it initiates a search for the corresponding port number and protocol.
Syntax
char* GetServiceName();
int SetServiceName(char* lpszServiceName);
Default Value
""
Remarks
This property contains the name of the specified service located at ServicePort.
If this property is set to a service name, a search is initiated for the corresponding ServicePort and other information related to the service (if any).
The RequestComplete event is fired when the search is complete. RequestId identifies the pending request.
NOTE: This functionality is only available in Windows.
Data Type
String