IsolatedStorage

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I want to use IsolatedStorage to store user data for a Win Forms app. The
majority of users are non-roaming but some are.

Sholud I use ...

IsolatedStorageFile.GetStore(IsolatedStorageScope.User Or
IsolatedStorageScope.Assembly Or IsolatedStorageScope.Roaming, Nothing,
Nothing)

roaming users, and ...

IsolatedStorageFile.GetStore(IsolatedStorageScope.User Or
IsolatedStorageScope.Assembly, Nothing, Nothing)

for non-roaming? If so, how can I tell who is and who is not a roaming user?

or can I use the first method for both roaming and non-roaming?
 
I would "hope" that using Roaming for all users would fall back to local if
the roaming profile is not enabled. At a minimum it should throw an exception
for you to handle.

I think you'll have to test it, the docs aren't specific.

-Eric
 
Back
Top