ForwardingClient.StopLocalForwarding Method (String, Boolean)
Stops a local forwarding configuration.
[Visual Basic]
Overloads Public Sub StopLocalForwarding( _
ByVal
key As
String, _
ByVal
killActiveTunnels As
Boolean _
)
[C#]
public
void StopLocalForwarding(
string key,
bool killActiveTunnels);
Parameters
-
key
- A local forwarding key returned by LocalForwardings
-
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.
Exceptions
| Exception Type |
Condition |
|
SSHException
|
Thrown if the forwarding listener specified does not exist. |
See Also
ForwardingClient Class | Maverick.Forwarding Namespace | ForwardingClient.StopLocalForwarding Overload List