Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello Everyone!
I have been working with the .NET SDK and can't seem to find any examples of File Watching and was curious if anyone knew if this is built into this SDK? I have combed through the c sdk and it has several more examples, one where they call a method twFileManager_ListEntities(thingName, WATCHED_DIR, NULL, LIST_FILES). The example then compares file listings of a folder and uploads any new files to thingworx. I have tried to look for something similar with the .NET SDK and can't find it anywhere. Can anyone shed some light on this? Thanks for your time!
Brian
Solved! Go to Solution.
Here is an example of how to use the file watcher class with .net sdk. It apparently isn't built in to the sdk because the microsoft class available does such a good job.
Here is an example of how to use the file watcher class with .net sdk. It apparently isn't built in to the sdk because the microsoft class available does such a good job.