public EditableTorrent(BEncodedDictionary metadata) { Check.Metadata(metadata); Initialise(BEncodedValue.Clone(metadata)); }
public BEncodedDictionary ToDictionary() { return(BEncodedValue.Clone(Metadata)); }
internal BEncodedDictionary ToDictionary() { // Give the user a copy of the original dictionary. return(BEncodedValue.Clone(originalDictionary)); }