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(
	char separator,
	string path
)
Visual Basic
Public Shared Function GetFileName ( _
	separator As Char, _
	path As String _
) As String
Visual C++
public:
static String^ GetFileName(
	wchar_t separator, 
	String^ path
)

Parameters

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

Return Value

File-name

See Also