Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monitor a network share #18

Open
gpadvorac opened this issue Apr 28, 2022 · 2 comments
Open

monitor a network share #18

gpadvorac opened this issue Apr 28, 2022 · 2 comments

Comments

@gpadvorac
Copy link

This project looks very interesting, and I'll dive in and see if there's anything I can contribute.

You made the comment:
"I don’t recommend using it to monitor a network share, such as a connection to a NAS."

I have a requirement to monitor network share drives (NAS). Why do you discourage this?

@TechieGuy12
Copy link
Owner

The project uses the FileSystemWatcher class in .Net. I had read that it isn't recommended to monitor a network share in the past. I see that this may no longer be the case as I see this on the actual FileSystemWatcher class page from Microsoft:

You can create a component to watch files on a local computer, a network drive, or a remote computer.

Source: https://docs.microsoft.com/en-us/dotnet/api/system.io.filesystemwatcher?view=net-6.0#remarks

I haven't tried monitoring a network share, but you can go ahead and try to see if it works for you. If there aren't any issues, I'll retract the statement about monitoring network shares.

@gpadvorac
Copy link
Author

Will do and thanks for the quick feedback! Willl keep you updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants