Table of Contents

Class FileFinder

Namespace
TwinSharp
Assembly
TwinSharp.dll

This class can search for files and enumerate them on a remote TwinCAT target.

public class FileFinder
Inheritance
FileFinder
Inherited Members

Properties

EndOfEnumeration

End of enumeration was reached. During the first attempt to read a non-existing entry this output is set to TRUE.

public bool EndOfEnumeration { get; }

Property Value

bool

Methods

Abort()

Call this when you dont want to continue enumeration of files. Releases resources on TwinCAT side.

public void Abort()

GetNextFileOrNull()

Returns the next file found or null if no more files are found.

public ST_FindFileEntry? GetNextFileOrNull()

Returns

ST_FindFileEntry?