Gets the path to the file on the client's machine.

Namespace:  EasyAlgo.EAUpload
Assembly:  EasyAlgo.EAUpload (in EasyAlgo.EAUpload.dll)
Version: 1.3.0.0

Syntax

C#
public string ClientFileName { get; }
Visual Basic (Declaration)
Public ReadOnly Property ClientFileName As String

Field Value

Type: System..::.String
The name of the client's file, including the directory path.

Remarks

Returned value is not validated on characters that are not allowed in path and file names.

Examples

The following code example demonstrates how to assign the name of an rejected file (the first file in the files collection) to a string variable.
CopyC#
Upload _CurrentUpload = UploadsManager.GetUpload();
RejectedFileCollection _RejectedFiles = _CurrentUpload.RejectedFiles;
RejectedFile _File = _RejectedFiles[0];

string _FileName = _File.ClientFileName;
CopyVB.NET
Dim _CurrentUpload As Upload = UploadsManager.GetUpload
Dim _RejectedFiles As RejectedFileCollection = _CurrentUpload.RejectedFiles
Dim _File As RejectedFile = _RejectedFiles(0)

Dim _FileName As String = _File.ClientFileName

See Also