ASP.NET How read a multipart form data in Web API? : <p>I send a multipart form data to my Web API like this:</p>

<pre><code>string example = "my string";
HttpContent stringContent = new StringContent(example);
HttpContent fileStreamContent = new StreamContent(stream);
using (var client = new HttpClient())
{
    using (var content = new MultipartFormDataContent())
    {
         content.Add(stringContent, "example", "example");
         content.Add(fileStreamContent, "stream", "stream");
         var uri = "http://localhost:58690/api/method";
         HttpResponseMessage response = await client.PostAsync(uri, content);
</code></pre>

<p>and this is the Web API:</p>

<pre><code>[HttpPost]
[Route("api/method")]
public async Task&lt;HttpResponseMessage&gt; Method()
    {
         // take contents and do something
    }
</code></pre>

<p>How read the string and the stream from request body in my Web API?</p>
