Hello, I've created a windows service application that monitors a folder. Whenever there's a change inside the folder (like you created a text file or renamed a folder) it will log the changes. Now my problem is to determine that the change happened to a file or a folder so that in the logs, it will appear and specify that the user made a change on a file or a folder. Thanks! :)
I'm sorry if the title of the thread is confusing. It was suppose to be "How would you know if it's a file or a folder in c#?". Apologies for the confusion.