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