static void AddToTags(string url, string data, EntryList tags) { string crc32 = CRC32(url); for (int i = 0; i < tags.Entries.Count; i++) { if (!tags.Entries[i].StartsWith(crc32)) { continue; } tags.Entries[i] = crc32 + " " + data; tags.Save(); return; } tags.Add(crc32 + " " + data); }
public static void Deny(string url) { Denied.Add(url); }
public static void Accept(string url) { Accepted.Add(url); }