SecureBlackbox 16: When transferring the data (especially during upload) OnProgress seems to be called rarely, thus blocking my application. Why is this so?

Note: This article applies only to SecureBlackbox Legacy. For future development please consider using the latest version.

The data is sent to the socket in large chunks (1MB by default), and the progress is reported once for each chunk. Decreasing the chunk size would reduce the speed of transfer.

Receiving happens in a similar manner, but in most cases the chunks that are read from the socket are much smaller, so they do not often affect OnProgress.

We appreciate your feedback.  If you have any questions, comments, or suggestions about this article please contact our support team at kb@nsoftware.com.