CancelTcpIpForwarding Method
Requests the server to stop forwarding a remote TCP/IP port.
Syntax
[VB.NET] Public Sub CancelTcpIpForwarding(ByVal Address As String, ByVal Port As Integer)
[C#] public void CancelTcpIpForwarding(string address, int port);
Remarks
The CancelTcpIpForwarding cancels a previous TCP/IP port forwarding request. When calling it, provide the same argument values you provided on the RequestTcpIpForwarding call.
NOTE: This method has a corresponding asynchronous version (CancelTcpIpForwardingAsync) for use in the WinRT environment.