By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,014 Members | 1,463 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,014 IT Pros & Developers. It's quick & easy.

need ideas - how to determine when another machine has persisted a file

P: n/a
Basically, I keep the state of some objects serialized in an xml file
through the use of a data set. The xml file serialized is persisted
onto a shared network drive. However, the file is only deserialized
upon startup.

I'd like to automatically refresh the state of my objects when other
users have changed their state through this same persisted file. What
is the best way to determine when this has happened ? Continually run
a timer and check if the persisted file has changed and once it has
changed, deserialize the file again ? Run a background thread and
constantly check ? I'm looking for any ideas on how to accomplish

I guess I envision this working similar to the way explorer works in
windows. For example, if you have a directory open and someone else on
the network deletes/adds a file, your directory view is automatically

Any ideas ?

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.