Results 1 to 3 of 3

Thread: [RESOLVED] Downloaded bytes?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2007
    Posts
    520

    Resolved [RESOLVED] Downloaded bytes?

    So, I looked at the example in the codebank, it doesnt quite work, plus, implementing it into a otherwise finished project, seems unlikely.


    Heres my question though,

    using:

    Code:
    Dim instance As New System.Net.WebClient
    and then using...
    Code:
    instance.downloadfile(fileurl, wheretosave)
    Is there a way to get the number of bytes already downloaded using "instance"?

  2. #2

    Re: Downloaded bytes?

    I believe there's an AddHandler you can do that is raised each time bytes are downloaded.

    I recommend checking out the WebClient MSDN page and check the documentation on WebClient Events.

    EDIT: Here's a direct link to what you are talking about actually.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2007
    Posts
    520

    Re: Downloaded bytes?

    Thank you sir.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width