Table of Contents

FileWatcher Constructor

Definition

Namespace
Cuemon.Runtime
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Runtime/FileWatcher.cs

FileWatcher(string, bool, Action<WatcherOptions>)

Initializes a new instance of the FileWatcher class.

public FileWatcher(string path, bool readFile = false, Action<WatcherOptions> setup = null)

Parameters

path string

The file to monitor, in standard or Universal Naming Convention (UNC) notation.

readFile bool

if set to true the file specified in path will be opened and a checksum will be computed using CyclicRedundancyCheck64 algorithm.

setup Action<WatcherOptions>

The WatcherOptions which may be configured.