23 references to Read
mscorlib (12)
system\environment.cs (8)
362
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "Path").Demand();
519
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, vars.ToString()).Demand();
546
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "COMPUTERNAME").Demand();
587
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "Path").Demand();
628
(new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, variable)).Demand();
837
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, vars.ToString()).Demand();
1395
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
,"UserName").Demand();
1563
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
,"UserDomain").Demand();
system\security\permissions\environmentpermission.cs (3)
103
if ((flag & EnvironmentPermissionAccess.
Read
) != 0)
117
if (FlagIsSet( flag, EnvironmentPermissionAccess.
Read
))
138
if (FlagIsSet( flag, EnvironmentPermissionAccess.
Read
))
system\security\permissions\permissionattributes.cs (1)
180
perm.SetPathList( EnvironmentPermissionAccess.
Read
, m_read );
PresentationCore (5)
Core\CSharp\MS\Internal\AppModel\CustomCredentialPolicy.cs (2)
68
_environmentPermissionSet.AddPermission(new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "USERDOMAIN"));
69
_environmentPermissionSet.AddPermission(new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "USERNAME"));
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
429
EnvironmentPermission environmentPermission = new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "Windir");
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (1)
118
(new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "USERNAME")).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (1)
245
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, environmentVariable).Assert();
System (5)
compmod\system\diagnostics\TraceInternal.cs (1)
61
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "Path").Assert();
net\System\Net\CredentialCache.cs (2)
305
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "USERNAME").Demand();
314
new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "USERNAME").Demand();
net\System\Net\NetworkCredential.cs (2)
92
m_environmentDomainNamePermission = new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "USERDOMAIN");
93
m_environmentUserNamePermission = new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "USERNAME");
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ListView.cs (1)
4793
EnvironmentPermission envPermission = new EnvironmentPermission(EnvironmentPermissionAccess.
Read
, "TEMP");