Ejemplo n.º 1
0
        protected override bool OnTryGet(SettingsHive hive, string name, out string value)
        {
            RegistrySettings settings = this.GetHive(hive);

            try
            {
                value = settings.GetString(name);
                return(value > null);
            }
            catch (Exception)
            {
                value = null;
                return(false);
            }
        }