|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IsolatedStorage problemIN a pseudo code like that //========== is.cs =========== using System; using System.IO.IsolatedStorage; // csc /nologo /out:ist.exe is.cs && ist class AType { } class ISTest { public static void Main(string[] arg) { Type t = typeof(AType); IsolatedStorageFile isf = IsolatedStorageFile.GetStore( IsolatedStorageScope.Assembly | IsolatedStorageScope.User, null, t.Assembly.Evidence); Console.WriteLine("Done"); } }//========================= That throws undecypherable error. I try to use reflector to see what: IsolatedStorageFile.GetUserStoreForAssembly() does, but I was none the wiser... :-/ Any tip on how to create IsolatedStorage associated with an arbitrary assembly (given as an argument)? |
|||||||||||||||||||||||