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

ForwardedPortLocal

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

Gets the bound host.

public uint BoundPort { get; protected set; }

Gets the bound port.

public string Host { get; protected set; }

Gets the forwarded host.

public uint Port { get; protected set; }

Gets the forwarded port.

public ForwardedPortLocal(uint boundPort, 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 ResourceMessages.

protected virtual void Dispose(bool disposing)

Releases unmanaged and - optionally - managed resources