-2
我要上传在谷歌驱动器Zip文件,但用C夏普Windows应用程序(框架工作4.0 VS 2010)上传zip包谷歌驱动器
credential = GoogleWebAuthorizationBroker.AuthorizeAsync(
GoogleClientSecrets.Load(stream).Secrets,
Scopes,
"user",
CancellationToken.None,
new FileDataStore(credPath, true)).Result;
没有实际上当我执行程序“Aggregate Exception”时出现错误 –
告诉我一件事是否有可能在Visual Studio 2010 Framework 4.0中使用驱动器v3 api –
是的,它可能可以使用Google apis以及任何支持http post和http get。谷歌.Net客户端库将使它更加容易,它支持.net 4.0您也可以使用.net客户端库安装nuget软件包。试试这个,你将不得不改变它的v3虽然http://www.daimto.com/google-drive-api-c-upload/ – DaImTo