Bagikan melalui


Classes Used in .NET Framework Network Operations

System.Net, System.Net.Sockets, and Uri provide a layered, extensible, and managed implementation of Internet services that can be quickly and easily integrated into your applications.

Basic Classes Used in Network Operations

This table lists the most important classes used for .NET Framework network operations. For a more comprehensive listing, consult the .NET Framework documentation.

Class

Description

System.Net

Provides a simple programming interface for many of the protocols used for networks.

System.Net.Authorization

Contains an authentication message for an Internet server.

Cookie

Provides a set of methods and properties used to manage cookies.

WebClient

Provides common methods for sending data to and receiving data from a resource identified by a URI (Uniform Resource Identifier).

WebRequest

Makes a request to a URI.

WebResponse

Provides a response from a URI.

System.Net.Sockets

Provides a managed implementation of the Windows Sockets (Winsock) interface for developers who need to tightly control access to the network.

System.Net.Sockets.TcpClient

Provides client connections for TCP network services.

System.Net.Sockets.TcpListener

Listens for connections from TCP network clients.

System.Net.Sockets.UdpClient

Provides User Datagram Protocol (UDP) network services.

System.Uri

Provides an object representation of a URI.

UriBuilder

Provides a custom constructor and modifiers for URIs.

See Also

Concepts

Basics of .NET Framework Network Operations