I have a XML configuration file like this:
<configuration>
<items>
<item key="KEY_NAME">
3
</item>
</items>
</configuration>
I need some library to read (only read) the files values but can detect changes (for example, change value 3 for 5) without restart application.
I was using njupiter for that, but this project was deprecated. I found MiniFSWatcher, do you known some other library?
Thanks,
Why not use the official https://learn.microsoft.com/en-us/dotnet/api/system.io.filesystemwatcher?view=netframework-4.8 class to watch the file system?
Example below:
In the on changed event, you can reload the file and the values.
This is the reason Njupiter is now deprecated.