GetRegistrySettings() публичный статический Метод

public static GetRegistrySettings ( ) : RegistryKey
Результат Microsoft.Win32.RegistryKey
Пример #1
0
 public static void SetRegistryInt(string name, int value)
 {
     using (RegistryKey registrySettings = Editor.GetRegistrySettings())
     {
         Editor.SetRegistryInt(registrySettings, name, value);
     }
 }
Пример #2
0
 public WorldImport()
 {
     using (RegistryKey registrySettings = Editor.GetRegistrySettings())
     {
         this.WorldFile = Editor.GetRegistryString(registrySettings, "ImportWorldFile", null);
     }
 }
Пример #3
0
        public static int GetRegistryInt(string name, int defaultValue)
        {
            int registryInt;

            using (RegistryKey registrySettings = Editor.GetRegistrySettings())
            {
                registryInt = Editor.GetRegistryInt(registrySettings, name, defaultValue);
            }
            return(registryInt);
        }