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 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.