The methods of the PortMapClient class are listed below. For a complete list of PortMapClient class members, see the PortMapClient Members topic.
Public Instance Methods
| Dispose (inherited from Client) | Disposes of the resources (other than memory) used by the Client. |
| Equals (inherited from Object) | Select the method name to go to the Microsoft documentation. |
| GetHashCode (inherited from Object) | Select the method name to go to the Microsoft documentation. |
| GetType (inherited from Object) | Select the method name to go to the Microsoft documentation. |
| StartHandshake | Starts connecting to the remote host. |
| StartRelay (inherited from Client) | Starts relaying data between the remote host and the local client. |
| ToString | Returns text information about this PortMapClient object. |
Protected Instance Methods
| Finalize (inherited from Object) | Select the method name to go to the Microsoft documentation. |
| MemberwiseClone (inherited from Object) | Select the method name to go to the Microsoft documentation. |
| OnClientReceive (inherited from Client) | Called when we have received data from the local client. Incoming data will immediately be forwarded to the remote host. |
| OnClientSent (inherited from Client) | Called when we have sent data to the local client. When all the data has been sent, we will start receiving again from the remote host. |
| OnRemoteReceive (inherited from Client) | Called when we have received data from the remote host. Incoming data will immediately be forwarded to the local client. |
| OnRemoteSent (inherited from Client) | Called when we have sent data to the remote host. When all the data has been sent, we will start receiving again from the local client. |
Private Instance Methods
| OnConnected | Called when the socket is connected to the remote host. |