An NDoc Documented Class Library |

# FTPClient.CommandSent Event

Triggered every time a command is sent to the server.

public event FTPMessageHandler CommandSent;

#### Event Data

The event handler receives an argument of type FTPMessageEventArgs containing data related to this event. The following FTPMessageEventArgs properties provide information specific to this event.

Property | Description
--- | ---
ConnectionInstanceNumber | Identifies the pooled connection on which the task is running.
IsGuiThread | Indicates whether or not the event-handler has been invoked on the GUI thread.
Message | Gets the message
TaskID | Identifies the asynchronous operation within which the event was triggered (applies to asynchronous methods only).

#### See Also

FTPClient Class | EnterpriseDT.Net.Ftp Namespace