25 references to RegistryPermission
mscorlib (7)
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\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 (5)
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\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
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 (1)
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();
WindowsBase (7)
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();