简体   繁体   English

使用DropNet API从我的保管箱帐户获取所有文件的列表

[英]Get a list of all files from my dropbox account using DropNet API

private void LoadContents()
{
    App.DropNetClient.GetMetaDataAsync("/", (response) =>
    {
        _model.Meta = response;
    },
        (error) =>
        {
            //OH DEAR GOD WHAT HAPPENED?!
            Deployment.Current.Dispatcher.BeginInvoke(() =>
            {
                MessageBox.Show(error.Message);
            });
        });
}

I am using above code but getting null as response, here how can I get the response? 我使用上面的代码,但得到null作为响应,在这里我如何得到响应?

Check what version of the RestSharp nuget package do you have in your project. 检查项目中RestSharp nuget包的版本。 I had issues and found they were resolved by updating RestSharp to 104.4.0. 我遇到了问题,发现通过将RestSharp更新为104.4.0解决了这些问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM