• 大小: 2.32MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-16
  • 语言: 其他
  • 标签: c#  

资源简介

模拟点击。后台版 源码

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;

namespace WebClick_Tool
{
    class IESetting
    {

        public enum ShowCommands : int
        {
            SW_HIDE = 0
            SW_SHOWNORMAL = 1
            SW_NORMAL = 1
            SW_SHOWMINIMIZED = 2
            SW_SHOWMAXIMIZED = 3
            SW_MAXIMIZE = 3
            SW_SHOWNOACTIVATE = 4
            SW_SHOW = 5
            SW_MINIMIZE = 6
            SW_SHOWMINNOACTIVE = 7
            SW_SHOWNA = 8
            SW_RESTORE = 9
            SW_SHOWDEFAULT = 10
            SW_FORCEMINIMIZE = 11
            SW_MAX = 11
        }

        [DllImport(“shell32.dll“)]
        static extern IntPtr ShellExecute(IntPtr hwnd string lpOperation string lpFile string lpParameters string lpDirectory ShowCommands nShowCmd);
        
 
        static void RunCmd(string cmd)
        {
            System.Diagnostics.Process p = new System.Diagnostics.Process();
            p.StartInfo.FileName = “cmd.exe“;
            // 关闭Shell的使用
            p.StartInfo.UseShellExecute = false;
            // 重定向标准输入
            p.StartInfo.RedirectStandardInput = true;
            // 重定向标准输出
            p.StartInfo.RedirectStandardOutput = true;
            //重定向错误输出
            p.StartInfo.RedirectStandardError = true;
            p.StartInfo.CreateNoWindow = true;
            p.Start();
            p.StandardInput.WriteLine(cmd);
            p.StandardInput.WriteLine(“exit“);

            p.WaitForExit();
        }
        /// 
        /// 清除cookie
        /// 

        /// 
        public static bool CleanCookie()
        {
            try
            {
                ShellExecute(IntPtr.Zero “open“ “rundll32.exe“ “ InetCpl.cplClearMyTracksByProcess 255“ ““ ShowCommands.SW_HIDE);
                //RunCmd(“RunDll32.exe InetCpl.cplClearMyTracksByProcess 255“);
                //RunDll32.exe InetCpl.cplClearMyTracksByProcess 2
                //RunDll32.exe InetCpl.cplClearMyTracksByProcess 1
                return true;
            }
            catch { return false; }
        }

    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    2238248  2012-12-28 14:37  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\BrowserEnvironment.txt

     文件        195  2012-12-21 10:02  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\Config - 副本.txt

     文件        277  2012-12-29 09:16  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\Config.txt

     文件        306  2012-12-27 15:04  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\Config_so.txt

     文件        330  2012-12-27 16:41  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\Config_sogou.txt

     文件        279  2012-12-27 15:22  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\Config_soso.txt

     文件        276  2012-12-27 15:04  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\Config_百度.txt

     文件    1143344  2012-12-27 10:22  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\Debug.rar

     文件     139264  2013-03-26 15:35  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\Interop.SHDocVw.dll

     文件    8013664  2010-03-19 03:11  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\Microsoft.mshtml.dll

     文件     303104  2009-07-13 15:48  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\MySql.Data.dll

     文件     946448  1999-06-02 13:19  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\SHDOCVW.DLL

     文件      40960  2013-03-26 15:35  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\WebClick_Tool.exe

     文件      71168  2013-03-26 15:35  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\WebClick_Tool.pdb

     文件      21464  2013-03-26 15:35  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\WebClick_Tool.vshost.exe

     文件        490  2012-06-06 02:06  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\WebClick_Tool.vshost.exe.manifest

     文件         33  2013-03-26 15:26  WebClick_Tool\WebClick_Tool\WebClick_Tool\bin\Debug\待点击关键词.txt

     文件       2338  2012-12-25 17:19  WebClick_Tool\WebClick_Tool\WebClick_Tool\IESetting.cs

     文件      14145  2012-12-29 10:32  WebClick_Tool\WebClick_Tool\WebClick_Tool\IETool.cs

     文件       3650  2012-12-28 09:12  WebClick_Tool\WebClick_Tool\WebClick_Tool\KeyPress.cs

     文件      12152  2013-03-26 15:34  WebClick_Tool\WebClick_Tool\WebClick_Tool\MainForm.cs

     文件       3837  2013-03-26 15:34  WebClick_Tool\WebClick_Tool\WebClick_Tool\MainForm.Designer.cs

     文件       6011  2013-03-26 15:34  WebClick_Tool\WebClick_Tool\WebClick_Tool\MainForm.resx

     文件       5643  2012-12-25 14:57  WebClick_Tool\WebClick_Tool\WebClick_Tool\Mysql.cs

     文件       1229  2013-03-26 15:31  WebClick_Tool\WebClick_Tool\WebClick_Tool\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6453  2013-03-26 15:30  WebClick_Tool\WebClick_Tool\WebClick_Tool\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件     139264  2013-03-26 15:35  WebClick_Tool\WebClick_Tool\WebClick_Tool\obj\Debug\Interop.SHDocVw.dll

     文件       2182  2013-03-26 15:35  WebClick_Tool\WebClick_Tool\WebClick_Tool\obj\Debug\WebClick_Tool.csproj.FileListAbsolute.txt

     文件        850  2013-03-26 15:35  WebClick_Tool\WebClick_Tool\WebClick_Tool\obj\Debug\WebClick_Tool.csproj.GenerateResource.Cache

     文件        689  2013-03-26 15:35  WebClick_Tool\WebClick_Tool\WebClick_Tool\obj\Debug\WebClick_Tool.csproj.ResolveComReference.cache

............此处省略28个文件信息

评论

共有 条评论