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);
        }
Beispiel #2
0
 public static void Deny(string url)
 {
     Denied.Add(url);
 }
Beispiel #3
0
 public static void Accept(string url)
 {
     Accepted.Add(url);
 }