System.Web.UI.HtmlControls.HtmlInputFile.PostedFile Property

Gets access to the uploaded file specified by a client.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.DefaultValue("")]
public System.Web.HttpPostedFile PostedFile { get; }

Value

a System.Web.HttpPostedFile

Remarks

Browser security restrictions prevent this value from being maintained across multiple requests.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0