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

ForwardedPortRemote

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

Gets the bound host.

public IPAddress BoundHostAddress { get; }

Gets the bound host.

public uint BoundPort { get; }

Gets the bound port.

public string Host { get; }

Gets the forwarded host.

public IPAddress HostAddress { get; }

Gets the forwarded host.

public uint Port { get; }

Gets the forwarded port.

public ForwardedPortRemote(IPAddress boundHostAddress, uint boundPort, IPAddress hostAddress, uint port)

Initializes a new instance of the ForwardedPortRemote class.

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

Initializes a new instance of the ForwardedPortRemote class.

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

Initializes a new instance of the ForwardedPortRemote class.