Class
MultipartObject
Represents an multipart/form-data object.
public sealed class MultipartObject : IEquatable<MultipartObject>Inheritance #
Implements #
Inherited Members #
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties #
| Name | Description |
|---|---|
| ContentBytes | Gets this MultipartObject form data content in bytes. |
| ContentLength | Gets this MultipartObject form data content length in byte count. |
| ContentType | Gets the Content-Type header value from this multipart-object. |
| Filename | Gets this MultipartObject provided file name. If this object ins’t disposing a file, nothing is returned. |
| HasContents | Gets an boolean indicating if this MultipartObject has contents or not. |
| Headers | Gets this MultipartObject headers. |
| IsFile | Gets an boolean indicating if this MultipartObject is a file or not. |
| Name | Gets this MultipartObject field name. |
Methods #
| Name | Description |
|---|---|
| Equals(object?) | |
| Equals(MultipartObject?) | |
| GetCommonFileFormat() | Determines the image format based in the file header for each image content type. |
| GetHashCode() | |
| ReadContentAsString(Encoding) | Reads the content bytes with the given encoder. |
| ReadContentAsString() | Reads the content bytes using the HTTP request content-encoding. |