Ejemplo n.º 1
0
        public async Task <IEnumerable <LivePendingUpload> > GetPendingUploads()
        {
            LiveConnectSessionStatus connectStatus;

            if (client != null || (connectStatus = await Connect()) == LiveConnectSessionStatus.Connected)
            {
                return(client.GetPendingBackgroundUploads());
            }
            return(Enumerable.Empty <LivePendingUpload>());
        }
Ejemplo n.º 2
0
        public static IEnumerable <LivePendingUpload> GetPendingUploads()
        {
            if (_session != null)
            {
                LiveConnectClient client = new LiveConnectClient(_session);

                return(client.GetPendingBackgroundUploads());
            }


            return(null);
        }