public async Task <Version> GetRemoteAppVersionAsync()
 {
     return(await Task.Run(async() =>
     {
         using (var response = await dropboxClient.Files.DownloadAsync(rootFolder + "/launcher/Version.xml"))
         {
             using (var streamXML = await response.GetContentAsStreamAsync())
             {
                 return VersionXml.ParseLauncherVersion(XDocument.Load(streamXML));
             }
         }
     }));
 }
        /// <summary>
        /// Checks mod update in the host of DropBox
        /// </summary>
        /// <returns> true if mod has an update otherwise false</returns>
        public async Task <bool> CheckModUpdateAsync()
        {
            return(await Task.Run(async() =>
            {
                var localModVersion = VersionXml.ParseModVersion(XDocument.Load("Version.xml"));
                var remoteModVersion = await GetRemoteModVersionAsync();

                if (localModVersion < remoteModVersion)
                {
                    return true;
                }

                return false;
            }));
        }