我想从Google Cloud 端硬盘下载文档 . 因为我使用的是Google Cloud 端硬盘API . 我是Google Drive API的新手,所以任何人都可以告诉我如何从谷歌 Cloud 端硬盘下载文档?

我已经尝试了这个选项https://developers.google.com/drive/manage-downloads#downloading_google_documents但我在网上获得例外

HttpWebRequest request =(HttpWebRequest)WebRequest.Create(new Uri(file.DownloadUrl.ToString()));

authenticator.ApplyAuthenticationToRequest(请求); HttpWebResponse response =(HttpWebResponse)request.GetResponse();

喜欢

{“底层连接已关闭:发送时发生意外错误 . ”}

{“无法从传输连接读取数据:远程主机强行关闭现有连接 . ”}

请问我不是在.net中创建桌面应用程序

谁能帮我 ?