Would be great if SshBase were IDisposable. In this way, one use case might go something like this:
using (var session = new SshExec(...) { /* do something using the session */ }
Following which, the expected disposable behavior would be to transparently close out of whatever Ssh (or other secure) session was in progress.
Mind the syntax error; you get the idea though.
using (var session = new SshExec(...)) { /* do something using the session */ }
Log in to post a comment.
Would be great if SshBase were IDisposable. In this way, one use case might go something like this:
Following which, the expected disposable behavior would be to transparently close out of whatever Ssh (or other secure) session was in progress.
Mind the syntax error; you get the idea though.