HttpPostedFile

Wisej.Core.HttpPostedFile

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.0.0.0)

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

public class HttpPostedFile

Properties

ContentLength

Int64arrow-up-right: Returns the size of an uploaded file, in bytes.

ContentType

Stringarrow-up-right: Returns the MIME content type of a file sent by a client.

FileName

Stringarrow-up-right: Return the fully qualified name of the file on the client.

InputStream

Streamarrow-up-right: Returns a Streamarrow-up-right object that points to an uploaded file to prepare for reading the contents of the file.

LastModified

DateTimearrow-up-right: Returns the last modified DateTimearrow-up-right of the file.

Methods

SaveAs(filename)

Saves the contents of an uploaded file.

Parameter
Type
Description

filename

The name of the file.

Last updated

Was this helpful?