MultipartFormDataContent

MultipartFormDataContent class

Represent content for multipart/form-data encoding algorithm

public class MultipartFormDataContent : MultipartContent

Constructors

Name Description
MultipartFormDataContent() Initializes a new instance of the MultipartFormDataContent class.
MultipartFormDataContent(string) Initializes a new instance of the MultipartFormDataContent class.

Properties

Name Description
Headers { get; } Gets the HTTP content headers.

Methods

Name Description
override Add(Content) Add the content to the MultipartFormDataContent class
Add(Content, string) Add the content to the MultipartFormDataContent class with field name parameter
Add(Content, string, string) Add the content to the MultipartFormDataContent class with field and file name parameter
Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
GetEnumerator() Returns an enumerator that iterates through a collection.
ReadAsByteArray() Serialize the HTTP content and return a byte array that represents the content.
ReadAsStream() Serialize the HTTP content and return a stream that represents the content.
ReadAsString() Serialize the HTTP content and return a string that represents the content.

See Also