38 references to SecurityManager
mscorlib (24)
system\appdomain.cs (1)
2628
SecurityManager
.PolicyManager.AddLevel(domainPolicy);
system\iappdomain.cs (1)
20
using SecurityManager = System.Security.
SecurityManager
;
system\io\isolatedstorage\isolatedstorage.cs (3)
739
psAllowed =
SecurityManager
.GetStandardSandbox(appEv);
743
psAllowed =
SecurityManager
.GetStandardSandbox(domainEv);
747
psAllowed =
SecurityManager
.GetStandardSandbox(assemEv);
system\security\codeaccesssecurityengine.cs (5)
211
bool bThreadSecurity =
SecurityManager
._SetThreadSecurity(false);
251
SecurityManager
._SetThreadSecurity(true);
330
bool bThreadSecurity =
SecurityManager
._SetThreadSecurity(false);
412
SecurityManager
._SetThreadSecurity(true);
754
specialFlags =
SecurityManager
.GetSpecialFlags(grantSet, null);
system\security\framesecuritydescriptor.cs (4)
317
bool bThreadSecurity =
SecurityManager
._SetThreadSecurity(false);
405
SecurityManager
._SetThreadSecurity(true);
471
bool bThreadSecurity =
SecurityManager
._SetThreadSecurity(false);
552
SecurityManager
._SetThreadSecurity(true);
system\security\hostsecuritymanager.cs (1)
185
return
SecurityManager
.PolicyManager.CodeGroupResolve(evidence, false);
system\security\permissionsettriple.cs (2)
274
int assertFlags =
SecurityManager
.GetSpecialFlags(AssertSet, null);
279
return (
SecurityManager
.GetSpecialFlags(GrantSet, RefusedSet) & flags) == flags;
system\security\permissiontoken.cs (1)
53
if (
SecurityManager
.IsSameType(strA, strB))
system\security\policy\applicationtrust.cs (2)
145
m_grantSetSpecialFlags =
SecurityManager
.GetSpecialFlags(m_psDefaultGrant.PermissionSet, null);
262
m_grantSetSpecialFlags =
SecurityManager
.GetSpecialFlags(ps.PermissionSet, null);
system\security\policy\sitemembershipcondition.cs (1)
17
using SecurityManager = System.Security.
SecurityManager
;
system\security\policy\strongnamemembershipcondition.cs (1)
17
using SecurityManager = System.Security.
SecurityManager
;
system\security\policy\zonemembershipcondition.cs (1)
17
using SecurityManager = System.Security.
SecurityManager
;
system\security\securitymanager.cs (1)
425
securitySpecialFlags =
SecurityManager
.GetSpecialFlags(granted, denied);
PresentationCore (1)
Core\CSharp\MS\Internal\Automation\EventMap.cs (1)
300
bool needAsserts = System.Security.
SecurityManager
.CurrentThreadRequiresSecurityContextCapture();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
605
PermissionSet standardFolderSandbox =
SecurityManager
.GetStandardSandbox(folderEvidence);
System.AddIn (1)
System\Addin\Hosting\AddInActivator.cs (1)
103
return
SecurityManager
.GetStandardSandbox(sandboxEvidence);
System.Configuration (1)
System\Configuration\ClientConfigurationHost.cs (1)
481
permissionSet =
SecurityManager
.GetStandardSandbox(evidence);
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
605
PermissionSet standardFolderSandbox =
SecurityManager
.GetStandardSandbox(folderEvidence);
System.Data.SqlXml (1)
System\Xml\Xsl\XsltOld\Compiler.cs (1)
199
this.rootAction.permissions =
SecurityManager
.GetStandardSandbox(evidence);
System.Security (1)
system\security\cryptography\xml\encryptedxml.cs (1)
277
PermissionSet ps =
SecurityManager
.GetStandardSandbox(m_evidence);
System.ServiceModel.Internals (2)
System\Runtime\PartialTrustHelpers.cs (2)
31
return
SecurityManager
.CurrentThreadRequiresSecurityContextCapture();
39
if (!
SecurityManager
.CurrentThreadRequiresSecurityContextCapture())
System.Web (2)
Hosting\ApplicationManager.cs (1)
1477
policyLevel =
SecurityManager
.LoadPolicyLevelFromString(strFileData, PolicyLevelType.AppDomain);
HttpRuntime.cs (1)
3278
return
SecurityManager
.LoadPolicyLevelFromString(strFileData, PolicyLevelType.AppDomain);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Form.cs (1)
4358
SecurityManager
.GetZoneAndOrigin( out zones, out sites );
winforms\Managed\System\WinForms\TrustManager.cs (1)
428
PermissionSet permSetDefaultZone =
SecurityManager
.GetStandardSandbox(info.ApplicationEvidence);
System.Xml (1)
System\Xml\XmlSecureResolver.cs (1)
22
public XmlSecureResolver(XmlResolver resolver, Evidence evidence) : this(resolver,
SecurityManager
.GetStandardSandbox(evidence)) {}