Table of Contents

Class MultipartObject

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

Represents an multipart/form-data object.

public sealed class MultipartObject
Inheritance
MultipartObject
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

GetCommonFileFormat()

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

ReadContentAsString()

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

ReadContentAsString(Encoding)

Reads the content bytes with the given encoder.