登录
首页 » C# » 代理IP自动更新校验器完整项目源码

代理IP自动更新校验器完整项目源码

于 2017-03-14 发布
0 348
下载积分: 1 下载次数: 1

代码说明:

代理IP用途非常广泛,但是因为其不够稳定所以需要不停的更新,C#源码世界第二季重磅出击,能够自动获取更新代理IP地址并自动校验有效性。                                  整个项目非常完整,从数据库设计到流程,多线程执行任务。数据库基于SQLite,实现了以下功能:                                 定时自动从代理IP网站提取代理到数据库中并判断该代理ip的位置。                                 多线程校验代理IP有效性,自动剔除无效代理。                                 提供了现成的随机去除一个有效代理IP的方法,并附送一个demo,自动提取一个有效IP并使用这个IP访问网站。                                  源码采用简单三层架构:                                 Model:模型层,主要放了一个tb_proxy模型,包含代理ip的IP、端口、有效性、地址、最后校验时间                                 Common:数据交互,主要存放了一个tb_proxy类,包含了对代理IP的增加、删除、修改和随机提取                                 Library:公用类库,包含一个HttpHelper类、RegHelper正则帮助类、IPHelper根据ip查询位置信息类和一个SQLiteHelper类。                                 主程序:一个主窗体和一个代理提取测试窗体。主窗体中主要完成代理的提取和多线程校验,测试窗体主要实现随机提取一个有效代理并访问一个ip查询网站,测试代理有效性和真实性。                                  源码特色:                                 项目非常简洁明了,代码都有详细的注释说明。                                 使用了qqwry.dat根据IP获取所在地址。                                 多线程校验使用了lock以防止冲突,默认开启了50个线程,如果觉得CPU扛不住可以适当减少。                                 更新数据库的方法也使用了lock,因为太多的并发会导致SQLite出错,这样这样做并不影响更新速度。                                 日志显示采用了公共的日志列队方法,直接在主项目的任何地方调用都可以。            

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C# UDP 文件传输实例源码
    C# UDP 文件传输实例源码
    2014-06-19下载
    积分:1
  • tfagui
    振动信号AOK时频分析源代码,采用小波变换AOK分析法替代传统小波函数(AOK time-frequency analysis source code of vibration signal, using wavelet transform AOK analysis instead of traditional wavelet function)
    2018-12-03 10:04:14下载
    积分:1
  • CSharpudpchat
    C#局域网udp聊天工具,客户端和服务器,实现聊天功能(chat liaotiangongju)
    2011-12-23 18:19:21下载
    积分:1
  • Computer-Networks-and-Internets
    这是一个用c++编写的,socket API 的服务器端和客户端的相互响应的简单程序.用cmd打开程序exe,输入“webserver + 端口号”,webclient方面,输入“webclient + 127.0.0.1 + 端口号5600”,则可以在客户端上显示接收到的信息。(This is a c++ written in response to a simple procedure of mutual socket API server and client' s Open Program exe, enter " webserver+ port number" , webclient, the input " webclient+ 127.0.0.1+ port number 5600 with cmd " you can display the information received on the client.)
    2013-12-27 21:41:43下载
    积分:1
  • TCPsocket
    TCP和UDP socket编程,向固定服务器发送学号姓名信息,用udp从服务器获得一个随机字符串(TCP and UDP socket programming, Student ID Name information sent to the fixed server udp from server to obtain a random string)
    2012-10-21 09:39:54下载
    积分:1
  • fx
    说明:  以网络通讯为基础,客户端输入指令,得到反馈,在客户端和服务器端显示opengl模型,并控制模型的运动(base on the communication of network,client type the key ,the sever respond at the same time client and the sever show the live result on the screen.)
    2011-05-04 17:04:09下载
    积分:1
  • 800-cases-of-foreign-hackers
    国外黑客800例,比较全面的讲解黑客技术,能够让你快速的找到需要的技术,进行研读(800 cases of foreign hackers, a more comprehensive explanation hacker technology that allows you to quickly find the needed technology, the study)
    2011-05-26 09:10:33下载
    积分:1
  • ZXPortMap
    ZXPortMap 端口映射源代码 一个很好的端口映射工具(ZXPortMap port mapping source code for a good port mapping tool)
    2013-09-12 13:13:04下载
    积分:1
  • Cpp1108
    程序时用循环进行一些数据的输入输出 以及数据的更新等操作(Program carried out with the cycle of some of the data input and output, and data updating operations)
    2016-02-16 11:21:48下载
    积分:1
  • tianzhinianyu
    韩国天之炼狱的服务器端主体程序包括: Login Server(登陆服务器), Shared Server(聊天服务器), Game Server(游戏服务器), Billing Server(附费服务器)四个部分。 其他部分还包括Update Server(用户更新服务器), Log Server(日志服务器)和TheOne Server。 天之炼狱服务器采用早期韩国网游使用的单Game Server模式, 架构上比较简单。 但是作为天炼的游戏内容来说, 单Game Server/同时支持1200-1500人已经足够。 Login Server在一组世界共用。 Shared Server在一组世界共用。 有能力实现多个世界内聊天信息的传送。 Billing Server包括2种, 原版Billing Server和大陆版China Billing Server, 两者源码都不具备。 但程序其他相关部分同时包括这两者的接口。 Update Server对于所有服务器共用。 Log Server不具有源码。 (not)
    2020-09-27 12:07:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载