GetRegistrySettings() public static method

public static GetRegistrySettings ( ) : RegistryKey
return Microsoft.Win32.RegistryKey
Ejemplo n.º 1
0
 public static void SetRegistryInt(string name, int value)
 {
     using (RegistryKey registrySettings = Editor.GetRegistrySettings())
     {
         Editor.SetRegistryInt(registrySettings, name, value);
     }
 }
Ejemplo n.º 2
0
 public WorldImport()
 {
     using (RegistryKey registrySettings = Editor.GetRegistrySettings())
     {
         this.WorldFile = Editor.GetRegistryString(registrySettings, "ImportWorldFile", null);
     }
 }
Ejemplo n.º 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);
        }