Aisha Iyer

Aisha Iyer

  • NA
  • 8
  • 46.7k

How can I find out how many bytes have been copied?

Jan 23 2011 11:49 PM

Hi,
 I am copying a file from a different system over the network. I am currently using File.Copy() method in C# to copy the file. Since the filesize is quite large, it will take considerable amount of time to copy the file. So I want to display a progressbar saying 500 bytes downloaded or something similar. How can I do this? Is there a way to know how many bytes have been copied?
Thanks

Answers (2)