public static string DownloadAsset(JsonEntities.ReleaseAsset asset, string path)
        {
            var task = downloadAsset(asset, path);

            task.Wait();
            return(task.Result);
        }
 private static async Task <string> downloadAsset(JsonEntities.ReleaseAsset asset, string path)
 {
     return(await asset.BrowserDownloadUrl
            .DownloadFileAsync(path));
 }