Isolated Storage question

  • Thread starter Thread starter Tomas
  • Start date Start date
T

Tomas

Hello,

One of my application use Isolated software to store file. Can I write a
second file to the same issolated storage path where first file is from
another application? It seems that issolated storage differ for every
application.

var machineStoreForAssembly: IsolatedStorageFile :=
IsolatedStorageFile.GetMachineStoreForAssembly;

Tomas
 
Hi

GetMachineStoreForAssembly - Retrives a machine-level store for the
assembly. So according to that, you should be able to do what are you
requesting, but only in case, when the code for creating instance of
isolated store is run in the same assembly in both application. This means
that if the structure of you app is like that:

Application 01 -> application01.dll aseembly
'-> CommonAssemblyForApp01andApp02 .dll

Applicaion 02 -> application02.dll assembly
'-> CommonAssemblyForApp01andApp02 .dll

then, if your code to create isolated storage will be in:
1. CommonAssemblyForApp01andApp02 .dll <- then it will work (as app01 and
app02 are using this assembly and isolated storage is created for it)
2. Application01.dll assembly or Application02.dll assembly <- will not
work, as creation of isolated storage will be diffrent in case of app01 and
app02

Hope, that it make sens. Let me know if not.

bet regards
Mariusz, Gorzoch

GetMachineStoreForAssembly - gives access to isolated as
 
Back
Top