Skip to content

Is it possible to tie a ProgressDialog to WriteAllBytes? #28

Discussion options

You must be logged in to vote

If by WriteAllBytes you mean File.WriteAllBytes, then no, it's not possible... This API is a one-shot API without any callbacks that would allow you to collect and report progress.

In order to report progress you have to take control of the writes by writing blocks of bytes to the stream yourself.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by augustoproiete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants