[英]How to download a file from shared folder in onedrive using c#?
我想使用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");
在您的代碼中看不到任何身份驗證或授權邏輯。 你有嗎
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.