MultipartFormDataRemoteStreamProvider Class
A MultipartStreamProvider implementation suited for use with HTML file uploads for writing file content to a remote storage Stream. The stream provider looks at the Content-Disposition header field and determines an output remote Stream based on the presence of a filename parameter. If a filename parameter is present in the Content-Disposition header field, then the body part is written to a remote Stream provided by GetRemoteStream. Otherwise it is written to a MemoryStream.
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
System.Net.Http::MultipartStreamProvider
System.Net.Http::MultipartFormDataRemoteStreamProvider
| Name | Description | |
|---|---|---|
![]() | MultipartFormDataRemoteStreamProvider() | Initializes a new instance of the MultipartFormDataRemoteStreamProvider class. |
| Name | Description | |
|---|---|---|
![]() | Contents | Gets or sets the contents for this MultipartStreamProvider.(Inherited from MultipartStreamProvider.) |
![]() | FileData | Gets a collection of file data passed as part of the multipart form data. |
![]() | FormData | Gets a NameValueCollection of form data passed as part of the multipart form data. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | ExecutePostProcessingAsync() | Read the non-file contents as form data.(Overrides MultipartStreamProvider::ExecutePostProcessingAsync().) |
![]() | ExecutePostProcessingAsync(CancellationToken) | Read the non-file contents as form data.(Overrides MultipartStreamProvider::ExecutePostProcessingAsync(CancellationToken).) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetRemoteStream(HttpContent^, HttpContentHeaders^) | Provides a RemoteStreamInfo for GetStream. Override this method to provide a remote stream to which the data should be written. |
![]() | GetStream(HttpContent^, HttpContentHeaders^) | |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


