title: How to get a client without freezing the Windows Forms App C# WindowsPCL
body: <p>I am trying to grab post data from my website to use in a windows forms app. When I try to call the method below to get a WordPressClient of my website, the whole form freezes and doesn't respond.</p>
  <pre><code>public static async Task&lt;WordPressClient&gt; GetClient()
          {
              //JWT authentication
              var client = new WordPressClient(&quot;http://website.com&quot;);
              client.AuthMethod = AuthMethod.JWT;
  
              //Form freezes on this line
              await client.RequestJWToken(&quot;email&quot;, &quot;password&quot;);
  
              return client;
          }
  </code></pre>