Table of Contents

Class MultipartObject

Namespace
Sisk.Core.Entity
Assembly
Sisk.Core.dll

Represents an multipart/form-data object.

public sealed class MultipartObject : IEquatable<MultipartObject>
Inheritance
MultipartObject
Implements
Inherited Members

Properties

ContentBytes

Gets this MultipartObject form data content in bytes.

ContentLength

Gets this MultipartObject form data content length in byte count.

Filename

Gets this MultipartObject provided file name. If this object ins't disposing a file, nothing is returned.

HasContents

Gets an booolean indicating if this MultipartObject has contents or not.

Headers

Gets this MultipartObject headers.

Name

Gets this MultipartObject field name.

Methods

Equals(MultipartObject?)
Equals(object?)
GetCommonFileFormat()

Determines the image format based in the file header for each image content type.

GetHashCode()
ReadContentAsString()

Reads the content bytes using the HTTP request content-encoding.

ReadContentAsString(Encoding)

Reads the content bytes with the given encoder.