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