<?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: Cannot get thumbails from GetThumbnailAsync in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150870#M4995</link>
    <description>&lt;P&gt;.I can't. Can you write code clearly? I don't know whatever you said.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2016 21:54:02 GMT</pubDate>
    <dc:creator>le h.</dc:creator>
    <dc:date>2016-03-02T21:54:02Z</dc:date>
    <item>
      <title>Cannot get thumbails from GetThumbnailAsync</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150868#M4993</link>
      <description>&lt;P&gt;I don't see any "icon","thumbail"....&lt;/P&gt;
&lt;P&gt;using (var dbx = new DropboxClient(Token))&lt;BR /&gt; {&lt;BR /&gt; var list = await dbx.Files.ListFolderAsync(path);&lt;BR /&gt; foreach(var item in list.Entries)&lt;BR /&gt; {&lt;BR /&gt;list1 = await dbx.Files.GetThumbnailAsync(item.AsFile.PathLower, null, ThumbnailSize.W64h64.Instance);&lt;BR /&gt; RootObject obj = new RootObject();&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG&gt;obj.thumbail = list1.Response.........................;&lt;/STRONG&gt;&lt;BR /&gt; arrays.Add(obj);&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;
&lt;P&gt;return arrays;&lt;BR /&gt; }&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:35:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150868#M4993</guid>
      <dc:creator>le h.</dc:creator>
      <dc:date>2019-05-29T09:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get thumbails from GetThumbnailAsync</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150869#M4994</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesRoutes_GetThumbnailAsync_1.htm" target="_blank" rel="nofollow noreferrer"&gt;GetThumbnailAsync&lt;/A&gt;&amp;nbsp;method gives you&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Babel_IDownloadResponse_1.htm" target="_blank" rel="nofollow noreferrer"&gt;IDownloadResponse&amp;lt;FileMetadata&amp;gt;&lt;/A&gt;. As shown in the documentation there, there are three different GetContent methods you can call on the response to get the content of the thumbnail requested.&lt;/P&gt;
&lt;P&gt;For example, you could get the thumbnail data as a byte array by using: (in your sample though response is list1)&lt;/P&gt;
&lt;PRE&gt;response.GetContentAsByteArrayAsync()&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Mar 2016 02:39:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150869#M4994</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-01T02:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get thumbails from GetThumbnailAsync</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150870#M4995</link>
      <description>&lt;P&gt;.I can't. Can you write code clearly? I don't know whatever you said.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 21:54:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150870#M4995</guid>
      <dc:creator>le h.</dc:creator>
      <dc:date>2016-03-02T21:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get thumbails from GetThumbnailAsync</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150871#M4996</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/35743478/how-to-get-thumbnails-for-image-dropbox-sdk-c-sharp" rel="nofollow noreferrer"&gt;https://stackoverflow.com/questions/35743478/how-to-get-thumbnails-for-image-dropbox-sdk-c-sharp&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;Here's a simple example that works for me to save a thumbnail of a file in&amp;nbsp;Dropbox at "/test.jpg" to a local file on my computer:&lt;/P&gt;
&lt;PRE&gt;public async Task GetThumbnail(string path)&lt;BR /&gt;{&lt;BR /&gt; using (var response = await client.Files.GetThumbnailAsync(path, null, ThumbnailSize.W64h64.Instance))&lt;BR /&gt; {&lt;BR /&gt; using (var fileStream = File.Create ("/destination/path/test_thumb.jpg")) {&lt;BR /&gt; var thumbStream = await response.GetContentAsStreamAsync();&lt;BR /&gt; thumbStream.CopyTo (fileStream);&lt;BR /&gt; };&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;await GetThumbnail("/test.jpg");&lt;/PRE&gt;
&lt;P&gt;Just be sure to set your remote path and local destination accordingly.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 02:06:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150871#M4996</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-03T02:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get thumbails from GetThumbnailAsync</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150872#M4997</link>
      <description>&lt;P&gt;your&amp;nbsp;mean that I have to convert byte to getting thumbnail.&lt;/P&gt;
&lt;P&gt;GetContentAsStringAsync():&lt;/P&gt;
&lt;P&gt;Result = "����\0\u0010JFIF\0\u0001\u0001\0\0\u0001\0\u0001\0\0��\0C\0\u0006\u0004\u0005\u0006\u0005\u0004\u0006\u0006\u0005\u0006\a\a\u0006\b\n\u0010\n\n\t\t\n\u0014\u000e\u000f\f\u0010\u0017\u0014\u0018\u0018\u0017\u0014\u0016\u0016\u001a\u001d%\u001f\u001a\u001b#\...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GetContentAsByteArrayAsync():&lt;/P&gt;
&lt;P&gt;Result = {byte[1674]}&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 00:35:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-thumbails-from-GetThumbnailAsync/m-p/150872#M4997</guid>
      <dc:creator>le h.</dc:creator>
      <dc:date>2016-03-04T00:35:03Z</dc:date>
    </item>
  </channel>
</rss>

