## MultipartFormDataContent class

Represent content for multipart/form-data encoding algorithm

```csharp
public class MultipartFormDataContent : MultipartContent
```

## Constructors

| Name | Description |
| --- | --- |
| [MultipartFormDataContent](multipartformdatacontent/#constructor)() | Initializes a new instance of the `MultipartFormDataContent` class. |
| [MultipartFormDataContent](multipartformdatacontent/#constructor_1)(*string*) | Initializes a new instance of the `MultipartFormDataContent` class. |

## Properties

| Name | Description |
| --- | --- |
| [Headers](../../aspose.html.net/content/headers/) { get; } | Gets the HTTP content headers. |

## Methods

| Name | Description |
| --- | --- |
| override [Add](../../aspose.html.net/multipartformdatacontent/add/#add)(*[Content](../content/)*) | Add the content to the `MultipartFormDataContent` class |
| [Add](../../aspose.html.net/multipartformdatacontent/add/#add_1)(*[Content](../content/), string*) | Add the content to the `MultipartFormDataContent` class with field name parameter |
| [Add](../../aspose.html.net/multipartformdatacontent/add/#add_2)(*[Content](../content/), string, string*) | Add the content to the `MultipartFormDataContent` class with field and file name parameter |
| [Dispose](../../aspose.html.net/content/dispose/)() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| [GetEnumerator](../../aspose.html.net/multipartcontent/getenumerator/)() | Returns an enumerator that iterates through a collection. |
| [ReadAsByteArray](../../aspose.html.net/content/readasbytearray/)() | Serialize the HTTP content and return a byte array that represents the content. |
| [ReadAsByteArray](../../aspose.html.net/content/readasbytearray/)(*CancellationToken*) | Serialize the HTTP content and return a byte array that represents the content. |
| [ReadAsStream](../../aspose.html.net/content/readasstream/)() | Serialize the HTTP content and return a stream that represents the content. |
| [ReadAsStream](../../aspose.html.net/content/readasstream/)(*CancellationToken*) | Serialize the HTTP content and return a stream that represents the content. |
| [ReadAsString](../../aspose.html.net/content/readasstring/)() | Serialize the HTTP content and return a string that represents the content. |
| [ReadAsString](../../aspose.html.net/content/readasstring/)(*CancellationToken*) | Serialize the HTTP content and return a string that represents the content. |

### See Also

* class [MultipartContent](../multipartcontent/)
* namespace [Aspose.Html.Net](../../aspose.html.net/)
* assembly [Aspose.HTML](../../)
