public void SetCustomSecure(BEncodedString key, BEncodedValue value) { CheckCanEditSecure(); Check.Key(key); Check.Value(value); InfoDict [key] = value; }
public void SetCustom(BEncodedString key, BEncodedValue value) { Check.Key(key); Check.Value(value); if (InfoKey.Equals(key)) { CheckCanEditSecure(); } Metadata [key] = value; }
public void RemoveCustomSecure(BEncodedString key) { CheckCanEditSecure(); Check.Key(key); InfoDict.Remove(key); }
public void RemoveCustom(BEncodedString key) { Check.Key(key); Metadata.Remove(key); }