Table of Contents

Class PostedFileBase

Namespace
Dynamicweb.Environment
Assembly
Dynamicweb.Core.dll

Provides access to individual files that have been uploaded by a client.

public abstract class PostedFileBase
Inheritance
PostedFileBase
Inherited Members

Properties

ContentType

Gets the MIME content type of a file sent by a client.

public abstract string ContentType { get; }

Property Value

string

FileName

Gets the fully qualified name of the file on the client.

public abstract string FileName { get; }

Property Value

string

Length

Gets the size of an uploaded file, in bytes.

public abstract long Length { get; }

Property Value

long

Name

Gets the name from the input

public abstract string Name { get; }

Property Value

string

Methods

OpenReadStream()

Opens the request stream for reading the uploaded file.

public abstract Stream OpenReadStream()

Returns

Stream
To top