.NET Protocol Classes
Some classes within the System.NET namespace make connecting to a Web site easy. These classes include WebRequest, WebResponse, HttpWebRequest, HttpWebResponse, FileWebRequest, FileWebResponse, and WebClient.
These classes provide the following features:
Support for HTTP, HTTPS, FILE, and so on
Asynchronous development
Simple methods for uploading and downloading data
This list of classes might seem like too many classes to handle; however, with the exception of WebClient, the request classes derive from WebRequest, and the response classes derive from WebResponse.
Support for HTTP, HTTPS, and FILE
The request object is generated from the static WebRequest.Create method, and the WebResponse object is generated from the request ...
Get .NET Common Language Runtime Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.