<PackageReference Include="SSH.NET" Version="2016.0.0" />

ForwardedPortLocal

Provides functionality for local port forwarding
public string BoundHost { get; }

Gets the bound host.

public uint BoundPort { get; }

Gets the bound port.

public string Host { get; }

Gets the forwarded host.

public uint Port { get; }

Gets the forwarded port.

public ForwardedPortLocal(uint boundPort, string host, uint port)

Initializes a new instance of the ForwardedPortLocal class.

public ForwardedPortLocal(string boundHost, string host, uint port)

Initializes a new instance of the ForwardedPortLocal class.

public ForwardedPortLocal(string boundHost, uint boundPort, string host, uint port)

Initializes a new instance of the ForwardedPortLocal class.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.