Shawn,

> Ok, am I missing something, or is completely impossible to use
> FileSystemWatcher on an IsolatedStorage directory?
>
> FileSystemWatcher wants to know the path to what it should it be
> watching... fair enough.  But the designers of IsolatedStorage
> seem to have went out of their way to *not* expose the true path
> of the backing store.  Also fair.
>
> But gee, I'd really like to be able to monitor a file in my
> isolated storage for changes (say, by other instances of my app).

With care, you should be able to use Environment.GetFolderPath()
to retrieve the path to the ApplicationData or LocalApplicationData
folders. I'm not sure how you would determine which to use in
the general case though.

Charlie Poole
[EMAIL PROTECTED]
www.pooleconsulting.com
www.charliepoole.org

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to