Skip to content

IFileSystem.GetFiles method

Gets the files at the specified path.

public string[] GetFiles(string path, string searchPattern = "*", bool recursive = false)
parameter description
path The path of the directory to list.
searchPattern The search pattern used to filter file names.
recursive true to scan subdirectories recursively.

Return Value

An array of file paths.

See Also