> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.Utility.FileWatcher Class Reference

## Public Member Functions

| Type | Name |
| - | - |
| | [FileWatcher](#af5d872baa30222a8f95f4c5fb36f329b) (string pathname) |
| void | [Close](#a1215ec2193694ad216c1520088a9416e) () |
| void | [Reset](#a4614b65bf6068d8084d0b840f61c9e78) () |

## Properties

| Type | Name |
| - | - |
| string | [Pathname](#a779abacb560bdbe72b667c6f48b561ea)`[get, set]` |
| bool | [FileChanged](#a13b509624f3dd51115544aa15eacc65c)`[get]` |

## Events

| Type | Name |
| - | - |
| FileSystemEventHandler | [Changed](#a99edc213fbc1f8794cf3fde6223537d4) |
| FileSystemEventHandler | [Deleted](#a0b8a47238c3a981ef8fc870a5b01edd7) |

## Constructor & Destructor Documentation

### FileWatcher()

```csharp theme={null}
OpenTD.Utility.FileWatcher.FileWatcher(string pathname)
```

`inline`

## Member Function Documentation

### Close()

```csharp theme={null}
void OpenTD.Utility.FileWatcher.Close()
```

`inline`

### Reset()

```csharp theme={null}
void OpenTD.Utility.FileWatcher.Reset()
```

`inline`

## Property Documentation

### FileChanged

```csharp theme={null}
bool OpenTD.Utility.FileWatcher.FileChanged
```

`get`

### Pathname

```csharp theme={null}
string OpenTD.Utility.FileWatcher.Pathname
```

`get` `set`

## Event Documentation

### Changed

```csharp theme={null}
FileSystemEventHandler OpenTD.Utility.FileWatcher.Changed
```

### Deleted

```csharp theme={null}
FileSystemEventHandler OpenTD.Utility.FileWatcher.Deleted
```

The documentation for this class was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/Utility/**FileWatcher.cs**
