Table of Contents

Class RemoteForward

Namespace
Tmds.Ssh
Assembly
Tmds.Ssh.dll

Controls remote port forwarding to a local endpoint.

public sealed class RemoteForward : IDisposable
Inheritance
RemoteForward
Implements
Inherited Members

Properties

ListenEndPoint

Gets the remote endpoint being forwarded from.

public RemoteEndPoint ListenEndPoint { get; }

Property Value

RemoteEndPoint

Stopped

Gets a token canceled when forwarding stops.

public CancellationToken Stopped { get; }

Property Value

CancellationToken

Methods

Dispose()

Stops forwarding and releases resources.

public void Dispose()

ThrowIfStopped()

Throws if the forward has stopped.

public void ThrowIfStopped()