Changeset 573
- Timestamp:
- 11/15/2008 12:29:50 AM (5 years ago)
- File:
-
- 1 edited
-
branches/eraser6/Eraser/Program.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Eraser/Program.cs
r562 r573 162 162 { 163 163 //Open the registry key containing the settings 164 RegistryKey pluginsKey = Application.UserAppDataRegistry.OpenSubKey( 165 guid.ToString(), true); 164 const string eraserKeyPath = @"SOFTWARE\Eraser\Eraser 6"; 165 RegistryKey eraserKey = Registry.CurrentUser.OpenSubKey(eraserKeyPath, true); 166 if (eraserKey == null) 167 eraserKey = Registry.CurrentUser.CreateSubKey(eraserKeyPath); 168 169 RegistryKey pluginsKey = eraserKey.OpenSubKey(guid.ToString(), true); 166 170 if (pluginsKey == null) 167 pluginsKey = Application.UserAppDataRegistry.CreateSubKey( 168 guid.ToString()); 171 pluginsKey = eraserKey.CreateSubKey(guid.ToString()); 169 172 170 173 //Return the Settings object.
Note: See TracChangeset
for help on using the changeset viewer.
