Fires when wodSFTP.NET changes its state.
Public StateChangedEvent As WeOnlyDo.Client.SFTP.StateChangedDelegate
public StateChangedDelegate StateChangedEvent;
StateChange event is fired each time wodSFTP.NET internal state changes. Initially, it is set to Disconnected. Once you initiate new connection, it will change to Connecting, etc..
Using this event you can see if there is something happening with wodSFTP.NET, or it is idle and waiting for your commands.
You can determine current state using State property.