SFTP.StateChangedEvent Event

Fires when wodSFTP.NET changes its state.

[Visual Basic]
Public StateChangedEvent As WeOnlyDo.Client.SFTP.StateChangedDelegate
[C#]
public StateChangedDelegate StateChangedEvent;

Remarks

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.

See Also

SFTP Class | SFTP Members | WeOnlyDo.Client Namespace