Hi,
Currently using Ssh.net sucessfully, I just want to be able to detect a server's disconnection
Is it possible to add a handler in sshclient which would fire a sshclient.Disconnected event when server sends a SSH_MSG_CHANNEL_CLOSE message ?
I tried with Putty, it closes when server disconnects
More generally, do you plan to add a full implementation of Ssh events in sshclient class like connecting, Connected, ....
It would give better threading than waiting for "isconnected" property state
These are mostly present in sshsession class but not available for sshclient
Anyway, best regards for this great job
Alain
Currently using Ssh.net sucessfully, I just want to be able to detect a server's disconnection
Is it possible to add a handler in sshclient which would fire a sshclient.Disconnected event when server sends a SSH_MSG_CHANNEL_CLOSE message ?
I tried with Putty, it closes when server disconnects
More generally, do you plan to add a full implementation of Ssh events in sshclient class like connecting, Connected, ....
It would give better threading than waiting for "isconnected" property state
These are mostly present in sshsession class but not available for sshclient
Anyway, best regards for this great job
Alain