FileCommunicatorGetFileNames(String, CancellationToken) Method

Returns a list of file names without path located in Directory. Communicator must be connected or AutoConnect must be set to perform this operation.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public FileNameInfo[] GetFileNames(
	string fileNameMask,
	CancellationToken cancelToken
)

Parameters

fileNameMask  String
Mask of file names to return. It can contain * for more charecters or ? for one charecter. If it is empty, all files are returned.
cancelToken  CancellationToken

Return Value

FileNameInfo
List of file names sorted ascending by modification time.

See Also