ES3.GetFiles

public static string[] GetFiles(string directoryPath, ES3Settings settings)

Description

Gets an array of file names (and their extensions) from a directory.

Parameters

directoryPath [Optional] The relative or absolute path of the directory we want to get the filenames from.

settings

[Optional] The settings we want to use to override the default settings.

Returns

An array of file names. For example: {“file1.txt”, “file2.txt”, “file3.txt”}.

Examples

C#

JS