<?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: C# api freeze on any api method. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360980#M20566</link>
    <description>&lt;P&gt;Thanks! I just gave this a try though, and it successfully downloads the file and outputs the file content for me and then exits the program. It doesn't hang for me, so it does sound like there is something about your environment causing the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(For reference,&amp;nbsp;NotMain is async but your call to it isn't awaited so I added a&amp;nbsp;System.Console.ReadLine(); to Main after the NotMain(); call in order to wait for it to complete. Without that, the program completed execution before the API call did.)&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 20:01:23 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-08-20T20:01:23Z</dc:date>
    <item>
      <title>C# api freeze on any api method.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360759#M20551</link>
      <description>&lt;P&gt;Hey!&lt;BR /&gt;My program gets stucked on any dbx.Files method, for example:&lt;/P&gt;
&lt;PRE&gt;  var x = await dbx.Files.DownloadAsync(folder + "/" + file);&lt;/PRE&gt;
&lt;P&gt;File is very small, 5 bytes, but it gets stuck anyways.&lt;BR /&gt;On upload it gets stuck as well, but data get's uploaded, I found uploaded file using dropbox web browser. What problem it can be?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 10:39:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360759#M20551</guid>
      <dc:creator>Ch_P</dc:creator>
      <dc:date>2019-09-10T10:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: C# api freeze on any api method.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360764#M20552</link>
      <description>&lt;P&gt;I just tried this line of code and it returned successfully for me. What version number of the SDK do you have installed? Update to the latest, currently v4.9.3, if you're not on that already.&lt;/P&gt;
&lt;P&gt;Can you elaborate on what you're seeing? Do you get any error or output at all? How are you seeing it get "stuck"? I&amp;nbsp;recommend stepping through with a debugger, if you haven't already, to see where it hangs.&lt;/P&gt;
&lt;P&gt;Also, is there anything that may be interfering with or delaying your connection to content.dropboxapi.com?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 19:33:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360764#M20552</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-08-19T19:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: C# api freeze on any api method.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360775#M20554</link>
      <description>Hi Grek! Thanks for your reply.&lt;BR /&gt;By stuck I mean is doesnt return or executes forever. I have latest Dropbox.api version installed. I see it hangs on awaiting this function and I cant step inside to see where exactly it hangs. Do you have any suggestions?</description>
      <pubDate>Mon, 19 Aug 2019 20:47:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360775#M20554</guid>
      <dc:creator>Ch_p1</dc:creator>
      <dc:date>2019-08-19T20:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: C# api freeze on any api method.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360779#M20556</link>
      <description>&lt;P&gt;What do you mean when you say you "cant step inside to see where exactly it hangs"? Did you connect a debugger, and if so, what happened?&lt;/P&gt;
&lt;P&gt;Are there any potential issues with your network connection? E.g., is there any firewall, proxy, or other piece of software that may be interfering? It may be worth trying this on another computer/server on a different network connection to see if that may be the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 21:02:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360779#M20556</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-08-19T21:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: C# api freeze on any api method.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360820#M20558</link>
      <description>There is no problem with connection because as i said before when I am try to upload file it gets upload, just this function never returns.</description>
      <pubDate>Tue, 20 Aug 2019 05:23:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360820#M20558</guid>
      <dc:creator>Ch_p1</dc:creator>
      <dc:date>2019-08-20T05:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: C# api freeze on any api method.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360893#M20562</link>
      <description>&lt;P&gt;Unfortunately I don't know what may be causing this and I can't reproduce this using the code you shared. Please share a sample project that demonstrates the issue so we can reproduce it here and investigate.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 13:59:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360893#M20562</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-08-20T13:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: C# api freeze on any api method.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360971#M20565</link>
      <description>&lt;P&gt;Hi Greg!&lt;BR /&gt;I returned with piece of code. Can u please point out what is wrong. My application stuck on awaiting download.&lt;/P&gt;&lt;PRE&gt;class Program
    {
        static void Main(string[] args)
        {
            NotMain();
        }
        static async void NotMain()
        {
            var dbx = new Dropbox.Api.DropboxClient("mysecrettoken");
            var x = await dbx.Files.DownloadAsync("/Folder/File"); // Exits here with code 0.
            System.Diagnostics.Debug.Write(await x.GetContentAsStringAsync()); // Never outputs nothing
        }
    }&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Aug 2019 19:10:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360971#M20565</guid>
      <dc:creator>Ch_p1</dc:creator>
      <dc:date>2019-08-20T19:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: C# api freeze on any api method.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360980#M20566</link>
      <description>&lt;P&gt;Thanks! I just gave this a try though, and it successfully downloads the file and outputs the file content for me and then exits the program. It doesn't hang for me, so it does sound like there is something about your environment causing the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(For reference,&amp;nbsp;NotMain is async but your call to it isn't awaited so I added a&amp;nbsp;System.Console.ReadLine(); to Main after the NotMain(); call in order to wait for it to complete. Without that, the program completed execution before the API call did.)&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 20:01:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/360980#M20566</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-08-20T20:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: C# api freeze on any api method.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/488178#M24476</link>
      <description>&lt;P&gt;Just use this code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var dbx = new DropboxClient(AccessToken);&lt;BR /&gt;var response = dbx.Files.GetTemporaryLinkAsync(File).Result;&lt;BR /&gt;return response.Link;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 03:50:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-api-freeze-on-any-api-method/m-p/488178#M24476</guid>
      <dc:creator>weerasinghe4</dc:creator>
      <dc:date>2021-01-19T03:50:22Z</dc:date>
    </item>
  </channel>
</rss>

