每一次:
自动变换MAC地址
自动变换IP地址(随机抑或使用准备好的代理IP)
自动清缓存 COOKIES
自动打开指定网址(或者其他网址转向连接)并执行点击操作求每一步的实现的技术上可能性以及相关资料,谢谢
自动变换MAC地址
自动变换IP地址(随机抑或使用准备好的代理IP)
自动清缓存 COOKIES
自动打开指定网址(或者其他网址转向连接)并执行点击操作求每一步的实现的技术上可能性以及相关资料,谢谢
调试欢乐多
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好像不好用
可以统计你阶段行的 流量图表 还能用地图形式标那些国家访问的。 超牛。