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

MultipartFormDataStreamProvider

Represents an IMultipartStreamProvider suited for use with HTML file uploads for writing file content to a FileStream.
public NameValueCollection FormData { get; }

Gets a NameValueCollection of form data passed as part of the multipart form data.

public MultipartFormDataStreamProvider(string rootPath)

Initializes a new instance of the MultipartFormDataStreamProvider class.

public MultipartFormDataStreamProvider(string rootPath, int bufferSize)

Initializes a new instance of the MultipartFormDataStreamProvider class.