CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - CSharp HttpWebRequest
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - CSharp HttpWebRequest - List
[
ISAPI-IE
]
HttpWebRequest
DL : 0
使用httpwebrequest轻松实现站外提交(可用于自动登陆,自动网上投票等)-Easy to use HttpWebRequest Station submitted (can be used for automatic landing, automatic online voting, etc.)
Date
: 2025-07-15
Size
: 9kb
User
:
jun
[
Internet-Network
]
2009_4_CookieManager
DL : 0
CookieManager 提供 CookieHandler 的具体实现,它将 cookie 的存储区与围绕接受和拒绝 cookie 的策略分离开来。使用管理存储的 CookieStore 以及做出 cookie 接受/拒绝决策的 CookiePolicy 对象来初始化 CookieManager。 -/********************************************************************************//** A typical usage of this class would look something like this: CookieManager cookieManager = new CookieManager() // Set a cookie value cookieManager.CookieValues["FavoriteCookie"] = "Chocolate Chip" HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url) // Publish the cookies to the request before asking for the response cookieManager.PublishCookies(webRequest) HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse() // Store any cookies returned from the response cookieManager.StoreCookies(webResponse) // Get the value of a cookie string session = cookieManager.CookieValues["SESSIONID"] webRequest = (HttpWebRequest)WebRequest.Create(url2) cookieManager.PublishCookies(webRequest) webResponse = (HttpWebResponse)webRequest.GetResponse() ************************************************************************************/
Date
: 2025-07-15
Size
: 14kb
User
:
[
CSharp
]
PACHONG
DL : 0
网络爬虫程序源码 这是一款用 C# 编写的网络爬虫 主要特性有: 可配置:线程数、线程等待时间,连接超时时间,可爬取文件类型和优先级、下载目录等。 状态栏显示统计信息:排入队列URL数,已下载文件数,已下载总字节数,CPU使用率和可用内存等。 有偏好的爬虫:可针对爬取的资源类型设置不同的优先级。 健壮性:十几项URL正规化策略以排除冗余下载、爬虫陷阱避免策略的使用等、多种策略以解析相对路径等。 较好的性能:基于正则表达式的页面解析、适度加锁、维持HTTP连接等。 今后有空可能加入的特性: 新特性 介绍 爬取文件用Berkeley DB存储 提高性能: 常用操作系统不善于处理大量小文件 基于URL Ranking的优先级队列 主题爬虫: 机器学习算法对链接与主题相关度进行评估,并按照得出的优先级顺序进行爬取 爬虫礼仪 遵循爬虫禁止协议、以及避免对服务器资源的过度使用等 性能优化 用UDP取代封装好的HttpWebRequest/Response DNS缓存 异步的DNS地址解析 硬盘缓存或内存数据库以避免频繁的磁盘寻道 分布式爬虫以扩展单机能力(CPU、内存和硬盘访问) -GreySky source personal accounting system, management of daily accounting classification of report management user management built several sets of beautiful skin for beginners learning to use.
Date
: 2025-07-15
Size
: 780kb
User
:
谭辰
[
Process-Thread
]
multiThread
DL : 0
实现用多线程下载网络资源,并对下载的文件进行合并。使用HttpWebRequest/WebResponse作为主要方法。-Implementation of network resources using multi-threaded downloads, and download the file to merge. Using the HttpWebRequest/WebResponse as the main method.
Date
: 2025-07-15
Size
: 157kb
User
:
gcloo
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.