The Maverick.NET SSH API

ForwardingClient.GetActiveTunnels Method (String, Int32, ForwardingChannelType)

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

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

Parameters

addressBound
portBound
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 bound address and port (which were supplied when creating the forwarding configuration) and the type of forwarding listener.

See Also

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