Occurs when the client sends a command to the remote host and receives a reply indicating the result of that command.
The event handler receives an argument of type FileTransfer.CommandEventArgs containing data related to this event. The following FileTransfer.CommandEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| ResultCode | Gets a value which specifies the last result code returned by the server. |
| ResultString | Gets a string value which describes the result of the previous command. |
The OnCommand event is generated when the client receives a reply from the server after some action has been taken.
FileTransfer Class | SocketTools Namespace