4.4. The System.Net namespace – internet programming under .NET

The System.Net namespace contains classes (net classes) that provide support for building applications that use internet protocols to send and receive data. These classes allow us to build different types of applications depending on our needs – from sockets-based communications to simple request/response programs.

The net classes provide us with the implementation of the HTTP protocol. These classes support most of the HTTP 1.1 protocol features. Beside the advanced features there are pipelining, chunking, authentication, pre-authentication, encryption, proxy support, server certificate validation, connection management, and HTTP extensions.

The Net classes use universal resource ...

Get A Programmer's Guide to .NET 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.