Title: [C#] using System; using System.Collections.Generic; using System.Linq; using Syst Author: Anonymous Pastebin link: http://pastebin.com/QF2SQmwy First Edit: Tuesday 11th of December 2012 01:14:14 AM CDT Last Edit: Tuesday 11th of December 2012 01:14:14 AM CDT using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net;   namespace Vote {     class Program     {         static CookieAwareWebClient wc = new CookieAwareWebClient();           static void Main(string[] args)         {             wc.Headers.Add("user-agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0");             wc.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";             wc.DownloadString("http://www.tv.com/lists/SpecialFeatures:list:best-animated-series/widget/poll/");                         string middlewaretoken = wc.CookieContainer.GetCookies(new Uri("http://www.tv.com/"))["csrftoken"].Value; // cookie=csrftoken. i guess it has to be included in POST params....             string POSTparams = "inp=%7B%22list_id%22%3A%22SpecialFeatures%3Alist%3Abest-animated-series%22%2C%22id%22%3A%22s%3A79180%22%2C%22a%22%3A%22a%22%2C%22v%22%3A%22%2B1%22%2C%22vote_rate_limit%22%3A%223%22%7D&csrfmiddlewaretoken=" + middlewaretoken;             string POSTlocation = "http://www.tv.com/lists/update/";               Console.Write("Enter time between votes (ms): ");                         int timeBetween;             string possnum;             do             {                 possnum = Console.ReadLine();             }             while (!int.TryParse(possnum, out timeBetween));               int votecounter = 0;               while (true)             {                 string response = wc.UploadString(POSTlocation, POSTparams);                 Console.WriteLine(response);                 Console.WriteLine(++votecounter + "\tvotes submitted so far.");                 System.Threading.Thread.Sleep(timeBetween);             }         }     }       class CookieAwareWebClient : WebClient     {         public CookieAwareWebClient()             : this(new CookieContainer())         { }         public CookieAwareWebClient(CookieContainer c)         {             this.CookieContainer = c;         }         public CookieContainer CookieContainer { get; set; }           protected override WebRequest GetWebRequest(Uri address)         {             WebRequest request = base.GetWebRequest(address);               var castRequest = request as HttpWebRequest;             if (castRequest != null)             {                 castRequest.CookieContainer = this.CookieContainer;             }               return request;         }     } }