Discuss this help topic in SecureBlackbox Forum

Clouds: Get Dropbox account information

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


TElDropboxDataStorage storage = new TElDropboxDataStorage();
TElDropboxAccountInfo info = storage.GetAccountInfo();
Console.WriteLine("Display name: {0}", info.DisplayName);
Console.WriteLine("Total space : {0}", info.QuotaAvailable);
Console.WriteLine("Free space  : {0}",
  info.QuotaAvailable - (info.RegularFiles + info.SharedFiles));

How To articles about Dropbox cloud

Discuss this help topic in SecureBlackbox Forum