This documentation is for the old version. Go to the latest Upload Suite docs

BaseFileInfo.FileName Property

Gets name of the file.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic
Public ReadOnly Property FileName As String
C#
public string FileName { get; }

Property Value

The value that represents name of the file received on the server.

Remarks

If the file is a source (SourceFileInfo) this property contains name of the original file.

If the file is a thumbnail (ThumbnailInfo) the value of this property depends on the ThumbnailInfo.CompressionMode value:

  • OrigFileName.OrigFileExt_ThumbnailX.jpg - for Jpeg and Icon compression modes;
  • OrigFileName.OrigFileExt_CompressedX.zip - for Zip compression mode;
  • OrigFileName.OrigFileExt_SourceX.OrigFileExt - for SourceFile compression mode.

See Also

Reference