    

 ## On this page

  

 

 # OpenTD.Utility.FileWatcher Class Reference

 Last update: 16.07.2025 

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [FileWatcher](#af5d872baa30222a8f95f4c5fb36f329b) (string pathname) void [Close](#a1215ec2193694ad216c1520088a9416e) () void [Reset](#a4614b65bf6068d8084d0b840f61c9e78) () ## <a id="properties" name="properties"></a>Properties

string [Pathname](#a779abacb560bdbe72b667c6f48b561ea)` [get, set]` bool [FileChanged](#a13b509624f3dd51115544aa15eacc65c)` [get]` ## <a id="events" name="events"></a>Events

FileSystemEventHandler [Changed](#a99edc213fbc1f8794cf3fde6223537d4) FileSystemEventHandler [Deleted](#a0b8a47238c3a981ef8fc870a5b01edd7)## Constructor &amp; Destructor Documentation

<a id="af5d872baa30222a8f95f4c5fb36f329b" name="af5d872baa30222a8f95f4c5fb36f329b"></a>## [◆ ](#af5d872baa30222a8f95f4c5fb36f329b)FileWatcher()

 OpenTD.Utility.FileWatcher.FileWatcher  ( string *pathname*)   inline 





## Member Function Documentation

<a id="a1215ec2193694ad216c1520088a9416e" name="a1215ec2193694ad216c1520088a9416e"></a>## [◆ ](#a1215ec2193694ad216c1520088a9416e)Close()

 void OpenTD.Utility.FileWatcher.Close  ( )   inline 





<a id="a4614b65bf6068d8084d0b840f61c9e78" name="a4614b65bf6068d8084d0b840f61c9e78"></a>## [◆ ](#a4614b65bf6068d8084d0b840f61c9e78)Reset()

 void OpenTD.Utility.FileWatcher.Reset  ( )   inline 





## Property Documentation

<a id="a13b509624f3dd51115544aa15eacc65c" name="a13b509624f3dd51115544aa15eacc65c"></a>## [◆ ](#a13b509624f3dd51115544aa15eacc65c)FileChanged

 bool OpenTD.Utility.FileWatcher.FileChanged  get 





<a id="a779abacb560bdbe72b667c6f48b561ea" name="a779abacb560bdbe72b667c6f48b561ea"></a>## [◆ ](#a779abacb560bdbe72b667c6f48b561ea)Pathname

 string OpenTD.Utility.FileWatcher.Pathname  getset 





## Event Documentation

<a id="a99edc213fbc1f8794cf3fde6223537d4" name="a99edc213fbc1f8794cf3fde6223537d4"></a>## [◆ ](#a99edc213fbc1f8794cf3fde6223537d4)Changed

 FileSystemEventHandler OpenTD.Utility.FileWatcher.Changed





<a id="a0b8a47238c3a981ef8fc870a5b01edd7" name="a0b8a47238c3a981ef8fc870a5b01edd7"></a>## [◆ ](#a0b8a47238c3a981ef8fc870a5b01edd7)Deleted

 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**