1
Answer

Not able to get file size, last modified or extension

Hi, 

Thanks for the sample and guide to help us list the files in gdrive after successfully authenticating with user consent.

However, I tried to get some metadata information for the files I uploaded in my gdrive. All I am able to get Name and ID but not any metadata information as mentioned in Subject line.

I checked over internet and could not really what wrong I am doing as I am just calling the relevant properties.

"Console.WriteLine(file.Size);" where file is an instance of Google.Apis.Drive.v3.Data.File

Can you please advise. 

Answers (1)