Ejemplo n.º 1
0
        public object ReadSub(string item)
        {
            Open();
            object obj = CurrentRegistry.GetValue(item);

            return(obj);
        }
Ejemplo n.º 2
0
 public void Close()
 {
     if (CurrentRegistry != null)
     {
         CurrentRegistry.Close();
     }
     IsClose = true;
 }
Ejemplo n.º 3
0
 public string[] GetSubItemNames()
 {
     Open();
     if (!Exists)
     {
         return(null);
     }
     return(CurrentRegistry.GetSubKeyNames());
 }
Ejemplo n.º 4
0
 public void DeleteSub(string subName)
 {
     Open();
     CurrentRegistry.DeleteValue(subName);
     Close();
 }
Ejemplo n.º 5
0
 public void WriteSub(string item, object value)
 {
     Open();
     CurrentRegistry.SetValue(item, value);
     Close();
 }