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.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
public FileNameInfo[] GetFileNames(
string fileNameMask,
CancellationToken cancelToken
)
- 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
FileNameInfoList of file names sorted ascending by modification time.