You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <exception cref="InvalidOperationException">The current <see cref="ForwardedPort"/> is already started -or- is not linked to a SSH session.</exception>
47
+
/// <exception cref="SshConnectionException">The client is not connected.</exception>
54
48
publicvirtualvoidStart()
55
49
{
56
50
CheckDisposed();
@@ -77,14 +71,25 @@ public virtual void Start()
77
71
/// <summary>
78
72
/// Stops port forwarding.
79
73
/// </summary>
74
+
#pragma warning disable CA1716// Identifiers should not match keywords
80
75
publicvirtualvoidStop()
76
+
#pragma warning restore CA1716// Identifiers should not match keywords
81
77
{
82
78
if(IsStarted)
83
79
{
84
80
StopPort(Session.ConnectionInfo.Timeout);
85
81
}
86
82
}
87
83
84
+
/// <summary>
85
+
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
/// Releases unmanaged and - optionally - managed resources
115
+
/// Releases unmanaged and - optionally - managed resources.
111
116
/// </summary>
112
-
/// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
117
+
/// <param name="disposing"><see langowrd="true"/> to release both managed and unmanaged resources; <see langowrd="false"/> to release only unmanaged resources.</param>
0 commit comments