The Maverick.NET SSH API

ForwardingClient.GetActiveTunnels Method (String, ForwardingChannelType)

Returns an ActiveTunnel array containing all the active tunnels that match the parameters supplied.

[Visual Basic]
Overloads Public Function GetActiveTunnels( _
   ByVal key As String, _
   ByVal type As ForwardingChannelType _
) As ActiveTunnel()
[C#]
public ActiveTunnel[] GetActiveTunnels(
   string key,
   ForwardingChannelType type
);

Parameters

key
type

Return Value

An array of ActiveTunnel

Remarks

Call this method to obtain a list of the active tunnels for a forwarding listener. Supply the forwarding listener key, which is a value returned from one of LocalForwardings, RemoteForwardings or X11Forwardings along with the type of forwarding listener.

Exceptions

Exception Type Condition
SSHException  

See Also

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