This program can open the Web site to open its own initiative, and the initiative to end the process, so as to achieve the blog click traffic to add
Program.cs
Using system;using system.collections.generic;using system.linq;using system.text;using System.Threading;namespace tst{ class program { static void Main (string[] args) {for (int i=0;i<1000;i++) { Console.WriteLine ("added {0} times!", i); Util Util = new Util (); Util. Startthrad (); Thread.Sleep (the); Set the speed util. Close ();}}}
Util.cs
Using system;using system.collections.generic;using system.diagnostics;using system.linq;using System.Text;using System.threading;namespace tst{ Public class Util {public void Startthrad () { ThreadStart start = new ThreadStart (startie); Thread thread = new thread (start); Thread. Start (); } public void Close () { process[] Pro = Process.getprocesses ();//Get all Processes //traverse process for (int i=0;i< Pro. length;i++) { //infer if is the process to find if (Pro[i]. Processname.tostring (). ToLower () = = "360chrome") //I tested the 360 speed browser, the other browser please change the process name Pro[i]. Kill (); End process; } } private void Startie () { Process.Start ("http://user.qzone.qq.com/574273250"); The address to be visited, the site's calculation rules for their own query, there are different methods of calculation, time interval, ID number, etc.}}
C#-visit bomber, new process, end process ... (ConsoleApp)---shinepans