56 instantiations of RegistryPermission
mscorlib (16)
microsoft\win32\registrykey.cs (1)
2072
new
RegistryPermission
(access, path).Demand();
system\diagnostics\eventing\eventprovider.cs (1)
544
(new
RegistryPermission
(RegistryPermissionAccess.Read, regKey)).Assert();
system\globalization\japanesecalendar.cs (1)
172
permSet.AddPermission(new
RegistryPermission
(RegistryPermissionAccess.Read, c_japaneseErasHivePermissionList));
system\security\accesscontrol\registrysecurity.cs (2)
155
new
RegistryPermission
(RegistryPermissionAccess.NoAccess, AccessControlActions.View, name).Demand();
240
new
RegistryPermission
(RegistryPermissionAccess.NoAccess, AccessControlActions.Change, keyName).Demand();
system\security\permissions\permissionattributes.cs (2)
577
return new
RegistryPermission
( PermissionState.Unrestricted );
581
RegistryPermission perm = new
RegistryPermission
(PermissionState.None);
system\security\permissions\registrypermission.cs (4)
309
RegistryPermission intersectPermission = new
RegistryPermission
(PermissionState.None);
339
return new
RegistryPermission
( PermissionState.Unrestricted );
357
RegistryPermission unionPermission = new
RegistryPermission
(PermissionState.None);
371
RegistryPermission copy = new
RegistryPermission
(PermissionState.None);
system\security\util\xmlutil.cs (1)
273
return new
RegistryPermission
( permState );
system\timezoneinfo.cs (4)
930
permSet.AddPermission(new
RegistryPermission
(RegistryPermissionAccess.Read, c_timeZonesRegistryHivePermissionList));
1429
permSet.AddPermission(new
RegistryPermission
(RegistryPermissionAccess.Read, c_timeZonesRegistryHivePermissionList));
2484
permSet.AddPermission(new
RegistryPermission
(RegistryPermissionAccess.Read, c_timeZonesRegistryHivePermissionList));
2769
permSet.AddPermission(new
RegistryPermission
(RegistryPermissionAccess.Read, c_timeZonesRegistryHivePermissionList));
PresentationCore (7)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
100
RegistryPermission registryPermission = new
RegistryPermission
(
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
180
permissionSet.AddPermission(new
RegistryPermission
(
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
382
permissionSet.AddPermission(new
RegistryPermission
(RegistryPermissionAccess.Read,
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (1)
386
new
RegistryPermission
(RegistryPermissionAccess.Read, c_devmodeRegKeyFullPath).Assert();
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (1)
1055
RegistryPermission permission = new
RegistryPermission
(
Shared\MS\Internal\SafeSecurityHelper.cs (1)
442
RegistryPermission regPerm = new
RegistryPermission
(RegistryPermissionAccess.Read, RegistryKeys.HKLM_IetfLanguage);//BlessedAssert
Shared\MS\Internal\SecurityHelper.cs (1)
981
_unrestrictedRegistryPermission = new
RegistryPermission
(PermissionState.Unrestricted);
PresentationFramework (2)
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (1)
153
(new
RegistryPermission
(RegistryPermissionAccess.Read, KILL_BIT_REGISTRY_HIVE + KILL_BIT_REGISTRY_LOCATION)).Assert();//BlessedAssert
src\Framework\System\Windows\Application.cs (1)
2613
permissions.AddPermission(new
RegistryPermission
(RegistryPermissionAccess.Read, SYSTEM_SOUNDS_REGISTRY_BASE));
System (11)
compmod\microsoft\win32\SystemEvents.cs (1)
1042
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
services\monitoring\system\diagnosticts\EventLog.cs (1)
76
RegistryPermission registryPermission = new
RegistryPermission
(PermissionState.Unrestricted);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (6)
458
RegistryPermission registryPermission = new
RegistryPermission
(PermissionState.Unrestricted);
553
RegistryPermission registryPermission = new
RegistryPermission
(PermissionState.Unrestricted);
622
ps.AddPermission(new
RegistryPermission
(PermissionState.Unrestricted));
898
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
959
ps.AddPermission(new
RegistryPermission
(PermissionState.Unrestricted));
1231
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
612
RegistryPermission registryPermission = new
RegistryPermission
(PermissionState.Unrestricted);
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
231
RegistryPermission registryPermission = new
RegistryPermission
(PermissionState.Unrestricted);
sys\system\io\ports\SerialPort.cs (1)
676
RegistryPermission registryPermission = new
RegistryPermission
(RegistryPermissionAccess.Read,
System.Data (2)
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
2185
(new
RegistryPermission
(RegistryPermissionAccess.Read, "HKEY_CLASSES_ROOT\\" + subkey)).Assert(); // MDAC 62028
2205
(new
RegistryPermission
(RegistryPermissionAccess.Read, "HKEY_LOCAL_MACHINE\\" + subkey)).Assert(); // MDAC 62028
System.Web (1)
Configuration\serverconfig.cs (1)
81
new
RegistryPermission
(RegistryPermissionAccess.Read, "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\InetStp").Assert();
System.Windows.Forms (8)
winforms\Managed\System\WinForms\Application.cs (1)
205
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\InputLanguage.cs (1)
187
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\LinkUtilities.cs (2)
39
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
131
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
205
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\NativeWindow.cs (1)
494
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\TrustManager.cs (2)
253
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
784
new
RegistryPermission
(PermissionState.Unrestricted).Assert();
WindowsBase (9)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
219
RegistryPermission permission = new
RegistryPermission
(
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
944
RegistryPermission permission = new
RegistryPermission
(
Shared\MS\Internal\Invariant.cs (1)
309
RegistryPermission regPerm = new
RegistryPermission
(RegistryPermissionAccess.Read, "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\.NetFramework");
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
555
permissionSet.AddPermission(new
RegistryPermission
(RegistryPermissionAccess.Read,
Shared\MS\Internal\Registry.cs (1)
50
new
RegistryPermission
(RegistryPermissionAccess.Read, keyPath).Assert();
Shared\MS\Internal\SecurityHelper.cs (1)
1395
new
RegistryPermission
(RegistryPermissionAccess.Read, baseRegistryKey.Name + @"\" + keyName).Assert();
Shared\MS\Internal\TextServicesLoader.cs (2)
213
ps.AddPermission(new
RegistryPermission
(RegistryPermissionAccess.Read, "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\CTF"));
214
ps.AddPermission(new
RegistryPermission
(RegistryPermissionAccess.Read, "HKEY_CURRENT_USER\\Software\\Microsoft\\CTF"));
Shared\MS\Utility\Trace.cs (1)
155
new
RegistryPermission
(RegistryPermissionAccess.Read, regKey).Assert();
43 references to RegistryPermission
mscorlib (11)
system\security\permissions\permissionattributes.cs (1)
581
RegistryPermission
perm = new RegistryPermission(PermissionState.None);
system\security\permissions\registrypermission.cs (10)
252
RegistryPermission
operand = target as
RegistryPermission
;
287
RegistryPermission
operand = (
RegistryPermission
)target;
309
RegistryPermission
intersectPermission = new RegistryPermission(PermissionState.None);
335
RegistryPermission
operand = (
RegistryPermission
)other;
357
RegistryPermission
unionPermission = new RegistryPermission(PermissionState.None);
371
RegistryPermission
copy = new RegistryPermission(PermissionState.None);
493
return
RegistryPermission
.GetTokenIndex();
PresentationCore (8)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
100
RegistryPermission
registryPermission = new RegistryPermission(
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (2)
1055
RegistryPermission
permission = new RegistryPermission(
1079
RegistryPermission
.RevertAssert();
Shared\MS\Internal\SafeSecurityHelper.cs (4)
381
RegistryPermission
regPerm = new RegistryPermission(RegistryPermissionAccess.Read,"HKEY_LOCAL_MACHINE\\"+RegistryKeys.WPF_Features);//BlessedAssert
420
RegistryPermission
.RevertAssert();
442
RegistryPermission
regPerm = new RegistryPermission(RegistryPermissionAccess.Read, RegistryKeys.HKLM_IetfLanguage);//BlessedAssert
450
RegistryPermission
.RevertAssert();
Shared\MS\Internal\SecurityHelper.cs (1)
985
static
RegistryPermission
_unrestrictedRegistryPermission = null;
PresentationFramework (3)
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (1)
182
RegistryPermission
.RevertAssert();
src\Shared\MS\Internal\SafeSecurityHelper.cs (2)
381
RegistryPermission
regPerm = new RegistryPermission(RegistryPermissionAccess.Read,"HKEY_LOCAL_MACHINE\\"+RegistryKeys.WPF_Features);//BlessedAssert
420
RegistryPermission
.RevertAssert();
System (12)
services\monitoring\system\diagnosticts\EventLog.cs (1)
76
RegistryPermission
registryPermission = new RegistryPermission(PermissionState.Unrestricted);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (5)
458
RegistryPermission
registryPermission = new RegistryPermission(PermissionState.Unrestricted);
506
RegistryPermission
.RevertAssert();
553
RegistryPermission
registryPermission = new RegistryPermission(PermissionState.Unrestricted);
578
RegistryPermission
.RevertAssert();
909
RegistryPermission
.RevertAssert();
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (2)
612
RegistryPermission
registryPermission = new RegistryPermission(PermissionState.Unrestricted);
685
RegistryPermission
.RevertAssert();
services\monitoring\system\diagnosticts\SharedUtils.cs (2)
231
RegistryPermission
registryPermission = new RegistryPermission(PermissionState.Unrestricted);
339
RegistryPermission
.RevertAssert();
sys\system\io\ports\SerialPort.cs (2)
676
RegistryPermission
registryPermission = new RegistryPermission(RegistryPermissionAccess.Read,
700
RegistryPermission
.RevertAssert();
System.Data (2)
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
2198
RegistryPermission
.RevertAssert();
2218
RegistryPermission
.RevertAssert();
WindowsBase (7)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (2)
219
RegistryPermission
permission = new RegistryPermission(
250
RegistryPermission
.RevertAssert();
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (2)
944
RegistryPermission
permission = new RegistryPermission(
974
RegistryPermission
.RevertAssert();
Shared\MS\Internal\Invariant.cs (1)
309
RegistryPermission
regPerm = new RegistryPermission(RegistryPermissionAccess.Read, "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\.NetFramework");
Shared\MS\Internal\SecurityHelper.cs (1)
1409
RegistryPermission
.RevertAssert();
Shared\MS\Utility\Trace.cs (1)
161
RegistryPermission
.RevertAssert();