Understanding System.Net

Networking functionality is housed in the System.Net namespace, which in turn is in System.dll. This is a subset of the functionality available in the full .NET Framework. The two main areas of networking functionality are the WebRequest classes, which perform Hypertext Transfer Protocol (HTTP) request/response communication, and the Socket class, which allows a lower level of two-way communication.

WebRequest

The WebRequest and associated WebResponse classes provide a base implementation for performing operations over a number of network technologies. You can use specific derived classes for working with different protocols such as http://, ftp://, and file://. The Compact Framework has only a limited implementation and ...

Get Microsoft® Mobile Development Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.