想做个刷流量软件,求指点 每一次: 自动变换MAC地址 自动变换IP地址(随机抑或使用准备好的代理IP) 自动清缓存 COOKIES自动打开指定网址(或者其他网址转向连接)并执行点击操作求每一步的实现的技术上可能性以及相关资料,谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 变mac就没啥必要了[SuppressUnmanagedCodeSecurity, SecurityCritical, DllImport("icePubDll.dll", EntryPoint = "icePub_ClearCookies", CharSet = CharSet.Unicode, SetLastError = true, ExactSpelling = true)] public static extern int icePub_ClearCookies(string domain);//清cookies [SuppressUnmanagedCodeSecurity, SecurityCritical, DllImport("icePubDll.dll", EntryPoint = "icePub_ClearCache", CharSet = CharSet.Unicode, SetLastError = true, ExactSpelling = true)] public static extern int icePub_ClearCache(string domain);//清缓存[SecurityCritical] public int ClearCookieInternal(string uri) { return icePub_ClearCookies(uri); } [SecurityCritical] public int ClearCacheInternal(string uri) { return icePub_ClearCache(uri); }[DllImport("wininet.dll", SetLastError = true)] private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength);//换代理ip private void RefreshIESettings(string strProxy) { const int INTERNET_OPTION_PROXY = 38; const int INTERNET_OPEN_TYPE_PROXY = 3; Struct_INTERNET_PROXY_INFO struct_IPI; // Filling in structure struct_IPI.dwAccessType = INTERNET_OPEN_TYPE_PROXY; struct_IPI.proxy = Marshal.StringToHGlobalAnsi(strProxy); struct_IPI.proxyBypass = Marshal.StringToHGlobalAnsi("local"); // Allocating memory IntPtr intptrStruct = Marshal.AllocCoTaskMem(Marshal.SizeOf(struct_IPI)); // Converting structure to IntPtr Marshal.StructureToPtr(struct_IPI, intptrStruct, true); bool iReturn = InternetSetOption(IntPtr.Zero, INTERNET_OPTION_PROXY, intptrStruct, Marshal.SizeOf(struct_IPI)); }struct Struct_INTERNET_PROXY_INFO { public int dwAccessType; public IntPtr proxy; public IntPtr proxyBypass; };用webbrowser控件访问,WebClient和HttpWebRequest好像不好用 如果 你为你的网站计算流量的话,最好用google 调用他的API 完全免费的非常强大。可以统计你阶段行的 流量图表 还能用地图形式标那些国家访问的。 超牛。 求助。VS2010 C#程序打包安装在其他电脑连接数据库失败 树形控件问题 如何把windows窗体状态栏的进度条移动到中间? 关于程序的自动启动 请问如何获取这个验证码 请问:C#环境里,有用过运动控制卡、io卡等板卡的么? 大哥们,帮帮忙!哪里可以下载.net编译器?在线等! C#做像PS一样的有加载数据的欢迎界面 在asp.net中,如何让客户自定义模板? 【新手提问】异步调用?或用子线程? C#允许创建几个子线程?100个线程池,会影响系统性能吗? 用LinkedList即泛型集合存储聊天信息的生存周期是多久啊? 接口存在的意义!?
public static extern int icePub_ClearCookies(string domain);//清cookies
[SuppressUnmanagedCodeSecurity, SecurityCritical, DllImport("icePubDll.dll", EntryPoint = "icePub_ClearCache", CharSet = CharSet.Unicode, SetLastError = true, ExactSpelling = true)]
public static extern int icePub_ClearCache(string domain);//清缓存
[SecurityCritical]
public int ClearCookieInternal(string uri)
{
return icePub_ClearCookies(uri);
} [SecurityCritical]
public int ClearCacheInternal(string uri)
{
return icePub_ClearCache(uri);
}
[DllImport("wininet.dll", SetLastError = true)]
private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength);//换代理ip private void RefreshIESettings(string strProxy)
{
const int INTERNET_OPTION_PROXY = 38;
const int INTERNET_OPEN_TYPE_PROXY = 3; Struct_INTERNET_PROXY_INFO struct_IPI; // Filling in structure
struct_IPI.dwAccessType = INTERNET_OPEN_TYPE_PROXY;
struct_IPI.proxy = Marshal.StringToHGlobalAnsi(strProxy);
struct_IPI.proxyBypass = Marshal.StringToHGlobalAnsi("local"); // Allocating memory
IntPtr intptrStruct = Marshal.AllocCoTaskMem(Marshal.SizeOf(struct_IPI)); // Converting structure to IntPtr
Marshal.StructureToPtr(struct_IPI, intptrStruct, true); bool iReturn = InternetSetOption(IntPtr.Zero, INTERNET_OPTION_PROXY, intptrStruct, Marshal.SizeOf(struct_IPI));
}struct Struct_INTERNET_PROXY_INFO
{
public int dwAccessType;
public IntPtr proxy;
public IntPtr proxyBypass;
};用webbrowser控件访问,WebClient和HttpWebRequest好像不好用
可以统计你阶段行的 流量图表 还能用地图形式标那些国家访问的。 超牛。