Application.Download understand when it is completed

0
0

Is there a way to know when Application.Download has finished downloading a file? I saw that there is an Action parameter but I can’t find any documentation. I read this https://docs.wisej.com/api/wisej.web/general/application but it doesn’t help me.
How can I do that?
Thanks.

  • You must to post comments
0
0

Hi Francesco,

You’ll need to define a method first, like the following example:

private void OnDownloaded(string obj)
{
AlertBox.Show("Download Finished");
}

Then, all you have to do is to call it in Application.Download like this:

Application.Download("file_path", ondownload: OnDownloaded);

Best Regards,
Alaa

  • Francesco Leo
    Ok, i test this way and report. Thanks.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.