Class PostedFileBase
- Namespace
- Dynamicweb.Environment
- Assembly
- Dynamicweb.Environment.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
FileName
Gets the fully qualified name of the file on the client.
public abstract string FileName { get; }
Property Value
Length
Gets the size of an uploaded file, in bytes.
public abstract long Length { get; }
Property Value
Name
Gets the name from the input
public abstract string Name { get; }
Property Value
Methods
OpenReadStream()
Opens the request stream for reading the uploaded file.
public abstract Stream OpenReadStream()