-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