Back to product page

ConnectedEvent event


Fired when wodSFTP.NET successfully connects to the server.

Syntax

  • C#
  • VB.NET
delegate void ConnectedDelegate(object Sender, ConnectedArgs Args);
The ConnectedEvent(Args.Error) syntax has these parts:
Args.ErrorException. Error that occured during connection, if any.null if no error occured.

Delegate Sub ConnectedDelegate(ByVal Sender As Object, ByVal Args As WeOnlyDo.Client.SFTP.ConnectedArgs)
The ConnectedEvent(Args.Error) syntax has these parts:
Args.ErrorException. Error that occured during connection, if any.null if no error occured.

Remarks

When this event is fired, you are free to issue new commands. Make sure no errors occurred when you tried to connect. You should check ConnectedArgs.Error for any errors.

Platforms

Windows