HttpPostedFile
Namespace: Wisej.Core
Assembly: Wisej.Framework (4.1.0.0)
Provides access to individual files that have been uploaded by a client.
- C#
- VB.NET
public class HttpPostedFile
Public Class HttpPostedFile
Properties
ContentLength
Int64: Returns the size of an uploaded file, in bytes.
ContentType
String: Returns the MIME content type of a file sent by a client.
FileName
String: Return the fully qualified name of the file on the client.
InputStream
Stream: Returns a Stream object that points to an uploaded file to prepare for reading the contents of the file.
LastModified
DateTime: Returns the last modified DateTime of the file.
Methods
SaveAs(filename)
Saves the contents of an uploaded file.
| Parameter | Type | Description |
|---|---|---|
| filename | String | The name of the file. |