Apparently (according to dotnet github) FileSystemWatcher
is not compatible with Linux (well then I have no idea how exactly they claim .Net as cross platform!).
Anyway, is there any other method (lower level approach) to implement a file watcher in C# which would be compatible with any Linux environment?
This question is not helpful. I Have already come across that. The solution in this question does not provide file information when a change event is raised.