Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/306.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C#Google Drive SDK示例应用程序不上载文件_C#_Google Drive Api - Fatal编程技术网

C#Google Drive SDK示例应用程序不上载文件

C#Google Drive SDK示例应用程序不上载文件,c#,google-drive-api,C#,Google Drive Api,我已经使用这里的文档设置了我的示例应用程序,但是在示例代码的末尾 File file = request.ResponseBody; Console.WriteLine("File id: " + file.Id); Console.WriteLine("Press Enter to end this process."); Console.ReadLine(); request.ResponseBody为空。为什么?目的是,在谷歌API中,在API项目->服务中,我只打开了驱动器SDK,但也

我已经使用这里的文档设置了我的示例应用程序,但是在示例代码的末尾

File file = request.ResponseBody;
Console.WriteLine("File id: " + file.Id);
Console.WriteLine("Press Enter to end this process.");
Console.ReadLine();

request.ResponseBody为空。为什么?

目的是,在谷歌API中,在API项目->服务中,我只打开了驱动器SDK,但也必须打开驱动器API

目的是,在谷歌API中,在API项目->服务中,我只打开了驱动器SDK,但也必须打开驱动器API