AstroGuy
asked on
Directies for application domains security zone c#
When building the following code I fet the error
"The type or namespace name 'Zone' could not be found (are you missing a using directive or an assembly reference?)
"The type or namespace name 'Zone' could not be found (are you missing a using directive or an assembly reference?)
object[] hostEvidence = { new Zone(SecurityZone.Internet) };
Evidence internetEvidence = new Evidence(hostEvidence, null);
AppDomain myDomain = AppDomain.CreateDomain("MyDomain");
myDomain.ExecuteAssembly("SecondAssembly.exe", internetEvidence);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.