HttpPostedFile.ContentLength Property

Definition

Gets the size of an uploaded file, in bytes.

public:
 property int ContentLength { int get(); };
public int ContentLength { get; }
member this.ContentLength : int
Public ReadOnly Property ContentLength As Integer

Property Value

The file length, in bytes.

Applies to

See also