<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get Quota/ vb.net DropboxClient API in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-Quota-vb-net-DropboxClient-API/m-p/198220#M9169</link>
    <description>*moves to correct forum*</description>
    <pubDate>Fri, 16 Dec 2016 19:47:07 GMT</pubDate>
    <dc:creator>Mark</dc:creator>
    <dc:date>2016-12-16T19:47:07Z</dc:date>
    <item>
      <title>Get Quota/ vb.net DropboxClient API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-Quota-vb-net-DropboxClient-API/m-p/198185#M9168</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;since one year i use a small "tool" to upload my files to DB periodically.&lt;/P&gt;&lt;P&gt;Getting used space works fine too, but how can i request the total quota / remaining free space?&lt;/P&gt;&lt;PRE&gt; Dim box = Await dbx.GetSpaceUsageAsync()&lt;/PRE&gt;&lt;P&gt;But i dont see a suitable namespace / attribute to get my needed value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just checked the documentation but the allocation object doenst have some like quota or free space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anybody help me out?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Boris&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:27:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-Quota-vb-net-DropboxClient-API/m-p/198185#M9168</guid>
      <dc:creator>Boris22</dc:creator>
      <dc:date>2019-05-29T09:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get Quota/ vb.net DropboxClient API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-Quota-vb-net-DropboxClient-API/m-p/198220#M9169</link>
      <description>*moves to correct forum*</description>
      <pubDate>Fri, 16 Dec 2016 19:47:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-Quota-vb-net-DropboxClient-API/m-p/198220#M9169</guid>
      <dc:creator>Mark</dc:creator>
      <dc:date>2016-12-16T19:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get Quota/ vb.net DropboxClient API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-Quota-vb-net-DropboxClient-API/m-p/198332#M9171</link>
      <description>&lt;P&gt;The &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Users_Routes_UsersUserRoutes_GetSpaceUsageAsync.htm" target="_self"&gt;GetSpaceUsageAsync&lt;/A&gt;&amp;nbsp;method gives you a &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Users_SpaceUsage.htm" target="_self"&gt;SpaceUsage&lt;/A&gt;&amp;nbsp;object, which has &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Users_SpaceUsage_Used.htm" target="_self"&gt;Used&lt;/A&gt;&amp;nbsp;(the amount of space used) and &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Users_SpaceUsage_Allocation.htm" target="_self"&gt;Allocation&lt;/A&gt;&amp;nbsp;(the total storage quota) properties for the user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you can do something like this (depending on account type):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var space = await this.client.Users.GetSpaceUsageAsync ();
Console.WriteLine ("{0}/{1}", space.Used, space.Allocation.AsIndividual.Value.Allocated);&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Dec 2016 16:24:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-Quota-vb-net-DropboxClient-API/m-p/198332#M9171</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-12-17T16:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get Quota/ vb.net DropboxClient API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-Quota-vb-net-DropboxClient-API/m-p/198339#M9173</link>
      <description>Dear Greg,&lt;BR /&gt;&lt;BR /&gt;you are my hero of the day &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;BR /&gt;Thanks a lot, it works fine.&lt;BR /&gt;&lt;BR /&gt;Thank you very much&lt;BR /&gt;Boris</description>
      <pubDate>Sat, 17 Dec 2016 17:02:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-Quota-vb-net-DropboxClient-API/m-p/198339#M9173</guid>
      <dc:creator>Boris22</dc:creator>
      <dc:date>2016-12-17T17:02:47Z</dc:date>
    </item>
  </channel>
</rss>

