Table of Contents

Class LocalForward

Namespace
Tmds.Ssh
Assembly
Tmds.Ssh.dll

Controls local port forwarding to a remote endpoint.

public sealed class LocalForward : IDisposable
Inheritance
LocalForward
Implements
Inherited Members

Properties

ListenEndPoint

Gets the local endpoint being forwarded from.

public EndPoint ListenEndPoint { get; }

Property Value

EndPoint

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()