I have a GUI program that creates an Isolated storage file. I want to read a value from that file in a backend service, which is a seperate assembly. I can load the GUI assembly with the reflection class, but when I call GetStore I get an 'Unable to determine identity of assembly.' exception. Is this not a valid way to get the evidence of the assembly?
Dim l_isoStore As IsolatedStorageFile
Dim l_asm As System.Reflection.Assembly = Reflection.Assembly.LoadFrom()
l_isoStore = IsolatedStorageFile.GetStore(IsolatedStorageScope.Assembly Or _
IsolatedStorageScope.User, Nothing, l_asm.Evidence)