Link to home
Create AccountLog in
Avatar of NewMom2Brandon
NewMom2Brandon

asked on

Windows Service to monitor folder size in C#

I am looking to create a windows service that will do the following in C#.

1. Look at a XML file for the directory to monitor
2. Monitor the folder to see if one file has been added. This folder will always be empty unless a error occurs. So really all I would need to do is see if the folder increases in size from zero to ???
2. Send a message to a server....

Does anyone have any examples that would help point me in the correct direction.
ASKER CERTIFIED SOLUTION
Avatar of Misbah
Misbah
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer