The Maverick.NET SSH API

ForwardingClient.StopLocalForwarding Method (String, Int32, Boolean)

Stops a local forwarding configuration.

[Visual Basic]
Overloads Public Sub StopLocalForwarding( _
   ByVal addressBound As String, _
   ByVal portBound As Integer, _
   ByVal killActiveTunnels As Boolean _
)
[C#]
public void StopLocalForwarding(
   string addressBound,
   int portBound,
   bool killActiveTunnels
);

Parameters

addressBound
The listening address
portBound
The listening port
killActiveTunnels
Set to true if you want all the active tunnels to be dropped as well

Remarks

This method stops a single local forwarding configuration.

See Also

ForwardingClient Class | Maverick.Forwarding Namespace | ForwardingClient.StopLocalForwarding Overload List