Gets and sets a value which specifies the remote service.
A string which specifies a well-known service name.
The RemoteService property is used to specify the port that will be used when establishing a connection with a remote host. Changing the value of the RemoteService property will cause the RemotePort property value to change to the port number that corresponds with that service name. Likewise, changing the value of the RemotePort property will cause the RemoteService property to return the name of the service associated with that port number.
A well-known service is a service name that is defined in the services file on the local system. This file is typically found in the \windows\system32\drivers\etc folder.