Null response creating file using Google Drive .NET API

前端 未结 4 1578
慢半拍i
慢半拍i 2021-01-28 03:49

I am trying to upload a file onto my Drive using Google Drive .NET API v3. My code is below

static string[] Scopes = { DriveService.Scope.Drive,
                         


        
4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-28 04:55

        string[] Scopes = { DriveService.Scope.Drive };
    
    • Change the Drive scope then delete the file token.json
    • in vs2017 you can see token.json file in token.json folder when client_secret.json file present.

提交回复
热议问题