Occurs as a data stream is being read or written to the client.
The event handler receives an argument of type GopherClient.ProgressEventArgs containing data related to this event. The following GopherClient.ProgressEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| BytesCopied | Gets a value which specifies the number of bytes of data that has been read or written. |
| BytesTotal | Gets a value which specifies the total number of bytes in the data stream. |
| Percent | Gets a value which specifies the percentage of data that has been read or written. |
The OnProgress event occurs as a data stream is being read or written to the client. If large amounts of data are being read or written, this event can be used to update a progress bar or other user-interface component to provide the user with some visual feedback on the progress of the operation.
This event is only generated when the GetItem or StoreItem methods are called.