Exemplo n.º 1
0
 public void DownloadNewVersion()
 {
     waiter = new ShoutzDatabaseManager.Shared.Waiting();
     waiter.Show();
     WebClient cExe = new WebClient();
     cExe.DownloadFileCompleted += CExe_DownloadFileCompleted;
     cExe.DownloadFileAsync(new Uri("https://github.com/Dytonis/ShoutzDatabaseManager/raw/master/Release/sdmf.exe"), Directory.GetCurrentDirectory() + "\\sdmf.exe");
     WebClient cDll = new WebClient();
     cDll.DownloadFileCompleted += CDll_DownloadFileCompleted;
     cDll.DownloadFileAsync(new Uri("https://github.com/Dytonis/ShoutzDatabaseManager/raw/master/Release/ShoutzDatabaseManager_AdministratorData.dll"), Directory.GetCurrentDirectory() + "\\ShoutzDatabaseManager_AdministratorData.dll");
 }
Exemplo n.º 2
0
        public void DownloadNewVersion()
        {
            waiter = new ShoutzDatabaseManager.Shared.Waiting();
            waiter.Show();
            WebClient cExe = new WebClient();

            cExe.DownloadFileCompleted += CExe_DownloadFileCompleted;
            cExe.DownloadFileAsync(new Uri("https://github.com/Dytonis/ShoutzDatabaseManager/raw/master/Release/sdmf.exe"), Directory.GetCurrentDirectory() + "\\sdmf.exe");
            WebClient cDll = new WebClient();

            cDll.DownloadFileCompleted += CDll_DownloadFileCompleted;
            cDll.DownloadFileAsync(new Uri("https://github.com/Dytonis/ShoutzDatabaseManager/raw/master/Release/ShoutzDatabaseManager_AdministratorData.dll"), Directory.GetCurrentDirectory() + "\\ShoutzDatabaseManager_AdministratorData.dll");
        }