23 references to SecurityZone
mscorlib (17)
system\appdomain.cs (3)
3377
creatorsZone.
SecurityZone
:
3383
if (suppliedZone.
SecurityZone
!= creatorsSecurityZone &&
3384
suppliedZone.
SecurityZone
!= SecurityZone.MyComputer)
system\reflection\assembly.cs (1)
558
if (zone == null || zone.
SecurityZone
!= SecurityZone.MyComputer)
system\security\policy\zone.cs (7)
81
return new ZoneIdentityPermission(
SecurityZone
);
106
return
SecurityZone
== other.
SecurityZone
;
111
return (int)
SecurityZone
;
133
if (
SecurityZone
!= SecurityZone.NoZone)
134
elem.AddChild( new SecurityElement( "Zone", s_names[(int)
SecurityZone
] ) );
152
return s_names[(int)
SecurityZone
];
system\security\policy\zonemembershipcondition.cs (1)
130
if (zone.
SecurityZone
== m_zone)
system\security\securityexception.cs (1)
297
m_zone = zone.
SecurityZone
;
system\security\securitymanager.cs (4)
104
else if (zone.
SecurityZone
== SecurityZone.MyComputer)
108
else if (zone.
SecurityZone
== SecurityZone.Intranet)
129
else if (zone.
SecurityZone
== SecurityZone.Internet ||
130
zone.
SecurityZone
== SecurityZone.Trusted)
PresentationFramework (2)
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (2)
83
context.NoPrompt = !(hostEvidence.
SecurityZone
== SecurityZone.Intranet || hostEvidence.
SecurityZone
== SecurityZone.Trusted);
System.Windows.Forms (4)
winforms\Managed\System\WinForms\Form.cs (2)
4220
if (currentZone.
SecurityZone
.Equals(SecurityZone.MyComputer))
4225
string zoneName = currentZone.
SecurityZone
.ToString();
winforms\Managed\System\WinForms\TrustManager.cs (2)
754
if (zone == null || zone.
SecurityZone
== SecurityZone.NoZone)
758
switch (zone.
SecurityZone
)