Author: kahlua001us | Posted on: 1/3/2010 1:12:23 AM | Views : 473

Hi,
Sorry if this post is in the wrong forum but not sure where to ask this. I have a code group on the machine level that denies permission to write to the the file system (System.IO). The condition for this rule is strong name with the public key that I have specified. I have a test assembly signed with this public key and I try to access the file system. When I load the assembly dynamically with Assembly.Load and I run it, it doesnt seem to match this condition. However, if I directly reference this assembly in Visual Studio and then run the assembly, it gives me the security exception. Question is, with dynamically loaded assemblies, how do I get the security framework to recognize the public key or evalue its evidence?


Thanks



...

Go to the complete details ...