VB.NET

Moderators: seancampbell
Number of threads: 4022
Number of posts: 10035

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
help assembly Identity Isolated Storage Posted by rlc on 10 Feb 2005 at 2:19 PM
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?

~rlc

 Dim l_isoStore As IsolatedStorageFile
 Dim l_asm As System.Reflection.Assembly = Reflection.Assembly.LoadFrom(<myGUIsAssemblyPath>)

 l_isoStore = IsolatedStorageFile.GetStore(IsolatedStorageScope.Assembly Or _
                     IsolatedStorageScope.User, Nothing, l_asm.Evidence)




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.