Click or drag to resize

FilePathGetFileName Method

Gets the file name and extension from the specified file path.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.241-beta+912389e96d98840d2a999d490420db618dcbe4c6
Syntax
public static string GetFileName(
	string filePath
)
View Source

Parameters

filePath  String
The file path from which the file name and extension is to be obtained.

Return Value

String
File name and extension if the file path has it; otherwise empty string.
See Also