正如文档中所说,我尝试下载文件方式:
try
{
LiveDownloadOperation operation = await connectClient.CreateBackgroundDownloadAsync(filePath);
var result = await operation.StartAsync();
var file = result.File; // It is null
}
catch
{
// Handle errors.
}
但result.File
为空。我认为我的文件路径有问题,如下所示:
path = "file.8c8ce076ca27823f.8C8CE076CA27823F!129"
也试过:
path = "file.8c8ce076ca27823f.8C8CE076CA27823F!129/content"
怎么了?它是一个 Windows 运行时应用程序,使用 LiveSDK 5.6