public static async Task <BackgroundTransferViewModel> FromLivePendingUpload(LivePendingUpload transfer)
        {
            var result           = new BackgroundTransferViewModel();
            var transferProgress = new Progress <LiveOperationProgress>(result.TransferProgressChanged);
            var attachResult     = await transfer.AttachAsync(new CancellationToken(), transferProgress);

            if (attachResult.Result.ContainsKey("name"))
            {
                result.Tag = attachResult.Result["name"].ToString();
            }
            return(result);
        }
        public async Task LoadData(bool attachUploads = true)
        {
            var pendingUploads = await App.LiveClient.GetPendingUploads();

            if (attachUploads)
            {
                foreach (var request in pendingUploads)
                {
                    var backgroundTransfer = await BackgroundTransferViewModel.FromLivePendingUpload(request);

                    TransferRequests.Add(backgroundTransfer);
                }
            }
            HasTransferRequests = pendingUploads.Any();
        }