MultipartSection Class

Definition

public ref class MultipartSection
public class MultipartSection
type MultipartSection = class
Public Class MultipartSection
Inheritance
MultipartSection

Constructors

MultipartSection()

Properties

BaseStreamOffset

The position where the body starts in the total multipart body. This may not be available if the total multipart body is not seekable.

Body

Gets or sets the body.

ContentDisposition
ContentType
Headers

Extension Methods

AsFileSection(MultipartSection)

Converts the section to a file section

AsFormDataSection(MultipartSection)

Converts the section to a form section

GetContentDispositionHeader(MultipartSection)

Retrieves and parses the content disposition header from a section

ReadAsStringAsync(MultipartSection)

Reads the body of the section as a string

Applies to