24 references to CurrentUser
Microsoft.Build.Tasks.Core (1)
ManifestUtil\ComImporter.cs (1)
191using (RegistryKey userKey = Registry.CurrentUser.OpenSubKey("SOFTWARE\\CLASSES\\CLSID"))
Microsoft.DotNet.Cli.Utils (3)
DependencyProvider.cs (3)
49/// <see cref="Registry.CurrentUser"/> for per-user installations. 105BaseKey = AllUsers ? Registry.LocalMachine : Registry.CurrentUser; 185var baseKey = allUsers ? Registry.LocalMachine : Registry.CurrentUser;
Microsoft.VisualBasic.Core (4)
Microsoft\VisualBasic\Interaction.vb (4)
329UserKey = Registry.CurrentUser 366rk = Registry.CurrentUser.OpenSubKey(sAppSect) 427rk = Registry.CurrentUser.OpenSubKey(sAppSect) 'By default, does not request write permission 461rk = Registry.CurrentUser.CreateSubKey(sIniSect)
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\RegistryProxy.vb (1)
35Return Registry.CurrentUser
Microsoft.Win32.Registry (1)
Microsoft\Win32\Registry.cs (1)
48case 17: baseKey = char.ToUpperInvariant(keyName[6]) == 'L' ? ClassesRoot : CurrentUser; break; // HKEY_C[L]ASSES_ROOT, otherwise HKEY_CURRENT_USER
PresentationCore (4)
System\Windows\Input\Stylus\Common\StylusLogic.cs (3)
285result = ((int)(Registry.CurrentUser.OpenSubKey(WpfPointerKey, RegistryKeyPermissionCheck.ReadSubTree)?.GetValue(WpfPointerValue, 0) ?? 0)) == 1; 333stylusKey = Registry.CurrentUser.OpenSubKey(WispPenSystemEventParametersKey); 347touchKey = Registry.CurrentUser.OpenSubKey(WispTouchConfigKey);
System\Windows\Input\TextCompositionManager.cs (1)
903RegistryKey key = Registry.CurrentUser.OpenSubKey("Control Panel\\Input Method");
PresentationFramework (1)
System\Windows\Application.cs (1)
2294using (RegistryKey soundKey = Registry.CurrentUser.OpenSubKey(regPath))
PresentationUI (3)
MS\Internal\Documents\RightsManagementProvider.cs (2)
393using (RegistryKey defaultRMKey = Registry.CurrentUser.OpenSubKey( 461using (RegistryKey defaultRMKey = Registry.CurrentUser.CreateSubKey(
MS\Internal\Documents\RMPublishingDialog.cs (1)
324using (RegistryKey defaultRMKey = Registry.CurrentUser.OpenSubKey(
System.Speech (1)
Internal\ObjectToken\RegistryDataKey.cs (1)
492Registry.CurrentUser,
System.Windows.Forms (4)
System\Windows\Forms\Application.cs (1)
673=> Registry.CurrentUser.CreateSubKey($"Software\\{CompanyName}\\{ProductName}\\{ProductVersion}");
System\Windows\Forms\Controls\Labels\LinkUtilities.cs (2)
29RegistryKey? key = Registry.CurrentUser.OpenSubKey(IESettingsRegPath); 131key = Registry.CurrentUser.OpenSubKey(IEMainRegPath);
System\Windows\Forms\Input\InputLanguage.cs (1)
214using RegistryKey? key = Registry.CurrentUser.OpenSubKey(UserProfileRegistryPath);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
239using RegistryKey? key = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Accessibility");