Class RemoteForward
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
Stopped
Gets a token canceled when forwarding stops.
public CancellationToken Stopped { get; }
Property Value
Methods
Dispose()
Stops forwarding and releases resources.
public void Dispose()
ThrowIfStopped()
Throws if the forward has stopped.
public void ThrowIfStopped()