예제 #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);
            }
        }