title: ObjectDisposedException on HttpClient
body: <p>I have a Windows Universal Project with multiple API calls.
  One method refuses to work eventhought my other calls work perfectly like this.
  I have tried the <code>using</code> keyword thought it would resolve the issue.</p>
  
  <p>The function:</p>
  
  <pre><code>public async Task&lt;User&gt; GetNewUser(string user_guid, OAuthTokens OAuth)
  {
      String userguidJSON = VALIDJSON_BELIEVE_ME;
      using (var httpClient = new HttpClient())
      {
          httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
          httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Authorization", Encrypt(OAuth.Accesstoken));
  
          using (HttpRequestMessage req = new HttpRequestMessage(HttpMethod.Post, BASE_URL + URL_USERS + "/data"))
          {
              req.Content = new StringContent(userguidJSON, Encoding.UTF8, "application/json");
              await httpClient.SendAsync(req).ContinueWith(respTask =&gt;
              {
                  Debug.WriteLine(req.Content.ReadAsStringAsync()); //Error is thrown ono this line
              });
              return null;
          }
      }
  }
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>public async Task&lt;User&gt; GetNewUser(string user_guid, OAuthTokens OAuth)
  {
      String userguidJSON = VALIDJSON_BELIEVE_ME;
      using (var httpClient = new HttpClient())
      {
          httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
          httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Authorization", Encrypt(OAuth.Accesstoken));
  
          using (HttpRequestMessage req = new HttpRequestMessage(HttpMethod.Post, BASE_URL + URL_USERS + "/data"))
          {
              req.Content = new StringContent(userguidJSON, Encoding.UTF8, "application/json");
              await httpClient.SendAsync(req);
              var result = await req.Content.ReadAsStringAsync(); //Cannot access a disposed object. Object name: 'System.Net.Http.StringContent'.
              Debug.WriteLine(result);
              return null;
          }
      }
  }
  </code></pre>
  
  <p>The stacktrace</p>
  
  <pre><code> at System.Net.Http.HttpContent.CheckDisposed()
     at System.Net.Http.HttpContent.ReadAsStringAsync()
     at Roadsmart.Service.RoadsmartService.&lt;GetNewUser&gt;d__2e.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
     at Roadsmart.ViewModel.SettingsPageViewModel.&lt;SetNewProfilePicture&gt;d__1e.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.AsyncMethodBuilderCore.&lt;ThrowAsync&gt;b__3(Object state)
     at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()
  </code></pre>