<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="4.0.20505" />

IMultipartStreamProvider

public interface IMultipartStreamProvider
An IMultipartStreamProvider implementation examines the headers provided by the MIME multipart parser as part of the MIME multipart extension methods (see HttpContentMultipartExtensions) and decides what kind of stream to return for the body part to be written to.

When a MIME multipart body part has been parsed this method is called to get a stream for where to write the body part to.