77 references to RegistryPermissionAccess
mscorlib (54)
microsoft\win32\registrykey.cs (23)
1782private void GetSubKeyReadPermission(string subkeyName, out RegistryPermissionAccess access, out string path) { 1783access = RegistryPermissionAccess.Read; 1786private void GetSubKeyWritePermission(string subkeyName, out RegistryPermissionAccess access, out string path) { 1788access = RegistryPermissionAccess.Write; 1791private void GetSubKeyCreatePermission(string subkeyName, out RegistryPermissionAccess access, out string path) { 1792access = RegistryPermissionAccess.Create; 1799private void GetSubTreeReadPermission(string subkeyName, out RegistryPermissionAccess access, out string path) { 1800access = RegistryPermissionAccess.Read; 1803private void GetSubTreeWritePermission(string subkeyName, out RegistryPermissionAccess access, out string path) { 1804access = RegistryPermissionAccess.Write; 1807private void GetSubTreeReadWritePermission(string subkeyName, out RegistryPermissionAccess access, out string path) { 1808access = RegistryPermissionAccess.Write | RegistryPermissionAccess.Read; 1815private void GetValueReadPermission(string valueName, out RegistryPermissionAccess access, out string path) { 1816access = RegistryPermissionAccess.Read; 1819private void GetValueWritePermission(string valueName, out RegistryPermissionAccess access, out string path) { 1820access = RegistryPermissionAccess.Write; 1823private void GetValueCreatePermission(string valueName, out RegistryPermissionAccess access, out string path) { 1824access = RegistryPermissionAccess.Create; 1829private void GetKeyReadPermission(out RegistryPermissionAccess access, out string path) { 1830access = RegistryPermissionAccess.Read; 1837RegistryPermissionAccess access = RegistryPermissionAccess.NoAccess;
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 (3)
583perm.SetPathList( RegistryPermissionAccess.Read, m_read ); 585perm.SetPathList( RegistryPermissionAccess.Write, m_write ); 587perm.SetPathList( RegistryPermissionAccess.Create, m_create );
system\security\permissions\registrypermission.cs (20)
65public RegistryPermission( RegistryPermissionAccess access, String pathList ) 71public RegistryPermission( RegistryPermissionAccess access, AccessControlActions control, String pathList ) 78public void SetPathList( RegistryPermissionAccess access, String pathList ) 84if ((access & RegistryPermissionAccess.Read) != 0) 87if ((access & RegistryPermissionAccess.Write) != 0) 90if ((access & RegistryPermissionAccess.Create) != 0) 107AddPathList( RegistryPermissionAccess.NoAccess, control, pathList ); 111public void AddPathList( RegistryPermissionAccess access, String pathList ) 117public void AddPathList( RegistryPermissionAccess access, AccessControlActions control, String pathList ) 121if ((access & RegistryPermissionAccess.Read) != 0) 128if ((access & RegistryPermissionAccess.Write) != 0) 135if ((access & RegistryPermissionAccess.Create) != 0) 160public String GetPathList( RegistryPermissionAccess access ) 166if ((access & RegistryPermissionAccess.Read) != 0) 175if ((access & RegistryPermissionAccess.Write) != 0) 184if ((access & RegistryPermissionAccess.Create) != 0) 198private void VerifyAccess( RegistryPermissionAccess access ) 200if ((access & ~RegistryPermissionAccess.AllAccess) != 0) 204private void ExclusiveAccess( RegistryPermissionAccess access ) 206if (access == RegistryPermissionAccess.NoAccess)
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)
101RegistryPermissionAccess.Read,
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
181RegistryPermissionAccess.Read,
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)
1056RegistryPermissionAccess.Read,
Shared\MS\Internal\SafeSecurityHelper.cs (2)
381RegistryPermission regPerm = new RegistryPermission(RegistryPermissionAccess.Read,"HKEY_LOCAL_MACHINE\\"+RegistryKeys.WPF_Features);//BlessedAssert 442RegistryPermission regPerm = new RegistryPermission(RegistryPermissionAccess.Read, RegistryKeys.HKLM_IetfLanguage);//BlessedAssert
PresentationFramework (3)
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));
src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
381RegistryPermission regPerm = new RegistryPermission(RegistryPermissionAccess.Read,"HKEY_LOCAL_MACHINE\\"+RegistryKeys.WPF_Features);//BlessedAssert
System (1)
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();
WindowsBase (9)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
220RegistryPermissionAccess.Read,
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
945RegistryPermissionAccess.Read,
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();