CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - webresponse
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - webresponse - List
[
Windows Develop
]
CheckDomain
DL : 0
通过webrequest,webresponse 检查各域名注册状态-Through webrequest, webresponse check the status of domain name registration
Date
: 2025-07-06
Size
: 55kb
User
:
袁佳文
[
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-06
Size
: 14kb
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-06
Size
: 157kb
User
:
gcloo
[
CSharp
]
WebInternet
DL : 0
这里有两个功能相似的例子,前一个使用WebClient实现,后一个使用WebRequest类和WebResponse类配合实现。讲解第2个例子的时候,要注意,WebRequest类和WebResponse类都是抽象类。-There are two functions similar to the example, the first to use the WebClient implementation, a WebRequest class and WebResponse classes with the realization. Explain two examples of when to pay attention to the WebRequest class and WebResponse classes are abstract classes.
Date
: 2025-07-06
Size
: 181kb
User
:
哈哈
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.