c# Dropbox RestSharp download file to stream
问题 I have an 'ASP.NET' console application and I use 'RestSharp' client for Dropbox. I use this code to download a file : var baseUrl = "https://content.dropboxapi.com"; var client = new RestClient(baseUrl); client.Authenticator = OAuth1Authenticator.ForRequestToken(mc_apiKey, mc_appsecret); RestRequest request = new RestRequest(string.Format("/{0}/files/auto", mc_version), Method.GET); client.Authenticator = OAuth1Authenticator.ForProtectedResource(mc_apiKey, mc_appsecret, accessToken.Token,