<?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: Alternative Async Await for DropboxClient.Files.DownloadAsync in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Alternative-Async-Await-for-DropboxClient-Files-DownloadAsync/m-p/313024#M18600</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;, I upgraded into VS 2017. I realized I could do more with it. Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 24 Nov 2018 11:52:28 GMT</pubDate>
    <dc:creator>Coffeecat</dc:creator>
    <dc:date>2018-11-24T11:52:28Z</dc:date>
    <item>
      <title>Alternative Async Await for DropboxClient.Files.DownloadAsync</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Alternative-Async-Await-for-DropboxClient-Files-DownloadAsync/m-p/312865#M18585</link>
      <description>&lt;P&gt;I just started using the Dropbox API and so far I've manage to browse the files list through my code. Unfortunately, the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;DownloadAsync&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function provided by Dropbox's tutorial uses Async/Await, which is not available in VS 2010 (what I'm using).&lt;/P&gt;&lt;P&gt;I downloaded and installed Async CTP, it required VS SP1.&lt;BR /&gt;I downloaded and installed VS10SP1-KB2736182, it says it does not apply, or is blocked by another condition on your computer. Googled it but got no help I could understand.&lt;/P&gt;&lt;P&gt;Is there another way to implement this code segment without using Async/Await?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="pln"&gt;Async &lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;Sub&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; DownloadFile&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;Filepath &lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;As&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;String&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="kwd"&gt;Dim&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; DF &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; Await DropboxClient&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;Files&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;DownloadAsync&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;Path&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;GetFileName&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;FilePath&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;    File&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;WriteAllBytes&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"file.txt"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; Await DF&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;GetContentAsByteArrayAsync&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="kwd"&gt;End&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;Sub&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I've tried reading other threads but they were in C# and Java, I don't have the ability to properly convert them.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:09:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Alternative-Async-Await-for-DropboxClient-Files-DownloadAsync/m-p/312865#M18585</guid>
      <dc:creator>Coffeecat</dc:creator>
      <dc:date>2019-05-29T09:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Async Await for DropboxClient.Files.DownloadAsync</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Alternative-Async-Await-for-DropboxClient-Files-DownloadAsync/m-p/312973#M18590</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/53445693/alternative-async-await-for-dropboxclient-files-downloadasync" target="_blank"&gt;https://stackoverflow.com/questions/53445693/alternative-async-await-for-dropboxclient-files-downloadasync&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;I see you also posted this on StackOverflow. The comment the user "GSerg" posted there is correct. If you can't or don't want to use the Async methods, you can use the Begin/End methods instead.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 00:50:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Alternative-Async-Await-for-DropboxClient-Files-DownloadAsync/m-p/312973#M18590</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-11-24T00:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Async Await for DropboxClient.Files.DownloadAsync</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Alternative-Async-Await-for-DropboxClient-Files-DownloadAsync/m-p/313024#M18600</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;, I upgraded into VS 2017. I realized I could do more with it. Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 11:52:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Alternative-Async-Await-for-DropboxClient-Files-DownloadAsync/m-p/313024#M18600</guid>
      <dc:creator>Coffeecat</dc:creator>
      <dc:date>2018-11-24T11:52:28Z</dc:date>
    </item>
  </channel>
</rss>

