Example #1
0
        /// <summary>
        /// Download all files aquired from the GetDownloadURLs method
        /// </summary>
        private void DownloadUpdates()
        {
            List <string> downloads = GetDownloadURLs();

            foreach (string file in downloads)
            {
                WebHandler.DownloadFile(file, InstallDirectory);
            }
        }
Example #2
0
 /// <summary>
 /// Get the text from the GitApiReleasesUrl
 /// </summary>
 /// <returns>The text on the page from the url</returns>
 private string GetGitApiText()
 {
     AquiredGitApiText = WebHandler.ReadText_FromURL(GitApiReleasesURL);
     return(AquiredGitApiText);
 }