我想使用c#
从OneDrive中的共享文件夹下载文件WebClient clientDownload = new WebClient();
StringBuilder requestUri= new StringBuilder();
requestUriDownload2.AppendFormat("https://onedrive.live.com/download?resid={0}",FileId);
clientDownload.DownloadFile(requestUriDownload2.ToString(), @"C:\Users\Junior\Desktop\exammple.zip");
答案 0 :(得分:0)
我在代码中没有看到任何身份验证或授权逻辑。你有吗?