public bool Set(string Key, byte[] Value) {
var Slot = Get(Key);
if (Slot == null) {
var NewEntry = new ConfigRegistryEntryBINARY(Value);
Dictionary.Add(Key, NewEntry);
return true;
}
var Entry = Slot as ConfigRegistryEntryBINARY;
if (Entry == null) throw new Exception("Wrong type!");
Entry.Value = Value;
return false;
}