Exemplo n.º 1
0
 /// <summary>
 /// Constructor method.
 /// </summary>
 /// <param name="window"><see cref="MainWindow"/> where are placed GUI elements to be updated to show progress.</param>
 /// <param name="url">mega.nz link to download a .zip including the .exe to be launched and all the files needed.</param>
 public MegaDownloader(MainWindow window, string url) : base(window, url)
 {
     client = new MegaApiClient();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor method.
 /// </summary>
 /// <param name="window"><see cref="MainWindow"/> instance where are placed GUI elements to be updated to show progress.</param>
 /// <param name="url"></param>
 public Downloader(MainWindow window, string url)
 {
     this.url = url;
     this.window = window;
 }