Discuss this help topic in SecureBlackbox Forum

Clouds: Get Google Drive account information

To get information about the user account, use TElGoogleDriveDataStorage.GetAccountInfo() method. The method returns an instance of TElGoogleDriveAccountInfo, which contains all data. Your code should free/dispose of the obtained TElGoogleDriveAccountInfo instance.


TElGoogleDriveDataStorage storage = new TElGoogleDriveDataStorage();
TElGoogleDriveAccountInfo info = storage.GetAccountInfo();
Console.WriteLine("Total space: {0}", info.QuotaBytesTotal);
Console.WriteLine("Used space : {0}", info.QuotaBytesUsed);
Console.WriteLine("In trash   : {0}", info.QuotaBytesUsedInTrash);

How To articles about Google Drive cloud

Discuss this help topic in SecureBlackbox Forum