How to Download a file at a given Url?

Hi, Support:
Is there any method to download a file at a given Url by using aspose.html.dll on Vb.net?
If there exists the function, and how to speed up the download progress?
Thanks for your help.

@ducaisoft

You can download resources by URL with code like this:

using (var document = new HTMLDocument())
{
    using (var response = document.Context.Network.Send(new RequestMessage(new Url("some url"))))
    {
        // Some work on response
    }
}

You can also add your own network request handler and measure the download time within it.

Thanks!
Could you show me a full demo based on Net not on C?

@ducaisoft

We are checking it and will get back to you shortly.

@ducaisoft

The shared code example is from Aspose.HTML for .NET documentation and are using C# code. We are afraid that we cannot understand your above question. Can you please explain a little bit more.

My question is that asking for you to provide me a full demo how to download a file at a given url and reporting its downloading progress based no Vb.net codes.

@ducaisoft

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): HTMLNET-4678

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.