15 references to CurrentUser
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
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); 146key = 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");