惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
MyScale Blog
MyScale Blog
博客园 - Franky
The Cloudflare Blog
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
The Blog of Author Tim Ferriss
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
Martin Fowler
Martin Fowler
aimingoo的专栏
aimingoo的专栏
J
Java Code Geeks
腾讯CDC
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
博客园 - 【当耐特】
美团技术团队
云风的 BLOG
云风的 BLOG

博客园 - 尚書

类似于GROUP BY SUM() 用于字符串连接的语句 UBUNTU 14.04 INSTALL nsenter UBUNTU 14.04 DOCKER 1.4.1 Redis On Windows Run Redis On Windows C#.NET 加密解密:AES/DES/Base64/RSA/MD5/SHA256 Random Mongo的主从同步,以及备份与恢复 Mongodb 更多操作 Mongodb的备份/还原 mongodump/mongorestore itextsharp多语言(中日韩等)填表解决 [筆記] string.Format 格式整理 微软放出五大语种Windows 8消费者预览版ISO镜像 [MVC] 获取请求时缺少"+"的处理办法 How to fix the bug that missing plus in Request.QueryString/Form [SQL SERVER] 数字补0 [SQL SERVER] 用SQL语句读取Execl数据 [SQL SERVER] 跨库查询--分布式查询 CSharpJExcel Read/Write Excel Install MongoDB as a windows service
[C#]HttpWebRequest、HttpWebRespoonse、WebRequest and WebR...
尚書 · 2012-03-11 · via 博客园 - 尚書

在看FTP Upload And Download 相關書籍時,覺得卡卡的(觀念不通)。

於是我就上去StackFlow找了一下相關文章

目前在網上看到較優的解釋 ,這只是一個12歲的小孩寫的,觀念如此的清晰,羞愧了我

HttpWebRequest

is a concrete class that allows you to request in code any sort of 

file over HTTP. You usually receive it as a stream of bytes. What you do with it 

after that is up to your application.

HttpWebResponse

allows you to process the response from a web server that was 

previously requested using HttpWebRequest.

WebRequest and WebResponse

are the abstract base classes that the HttpWebRequest and 

HttpWebResponse inherit from. You can't create these directly. Other classes that 

inherit from these include Ftp and File classes.

WebClient

I have always seen as a nice helper class that provides simpler ways to, 

for example, download or upload a file from a web url. (eg DownloadFile and 

DownloadString methods). I have heard that it actually uses HttpWebRequest / 

HttpWebResponse behind the scenes for certain methods.