Gets the file-name without its path.

Namespace: EnterpriseDT.Util
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
public static string GetFileName(
	string path
)
Visual Basic
Public Shared Function GetFileName ( _
	path As String _
) As String
Visual C++
public:
static String^ GetFileName(
	String^ path
)

Parameters

path
Type: System..::..String
Absolute or relative path

Return Value

File-name

See Also