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

推荐订阅源

Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
B
Blog
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学
爱范儿
爱范儿
博客园_首页
博客园 - 聂微东
量子位
V
Visual Studio Blog
aimingoo的专栏
aimingoo的专栏
T
The Blog of Author Tim Ferriss
J
Java Code Geeks
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
The Cloudflare Blog
T
Tailwind CSS Blog
G
Google Developers Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
腾讯CDC

博客园 - 尚書

类似于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.