Back to product page

Filename property


Holds filename of uploaded file, if provided.

Type

String

Syntax

  • C#
  • VB.NET
String Filename {get; };

ReadOnly Property Filename As String

Remarks

Filename property holds name of the file uploaded in this part, if one is found. Usually, if this property is not empty then it holds uploaded file you can Save later on. To determine what type of uploaded content it is, you can use Type property.

Filename property is extracted from the headers of the uploaded part, usually Content-Disposition header.

Platforms

Windows