共用方式為


Network Programming

The Microsoft .NET Framework provides a layered, extensible, and managed implementation of Internet services that can be quickly and easily integrated into your applications. Your applications can build on pluggable protocols to automatically take advantage of new Internet protocols, or they can use a managed implementation of the Windows socket interface to work with the network on the socket level.

In This Section

  • Requesting Data
    Explains how to use pluggable protocols to upload and download data from Internet resources.
  • Internet Protocol Version 6
    Describes the advantages of Internet Protocol version 6 (IPv6) over the current version of the Internet Protocol suite (IPv4), describes IPv6 addressing, routing and auto-configuration, and how to enable and disable IPv6.
  • Network Tracing
    Explains how to use network tracing to get information about method invocations and network traffic generated by a managed application.

Reference

  • System.Net
    Provides a simple programming interface for many of the protocols used on networks today. The WebRequest and WebResponse classes in this namespace are the basis for pluggable protocols.
  • System.Net.Sockets
    Provides a managed implementation of the Windows Sockets (Winsock) interface for developers who need to help control access to the network.
  • System.Net.Cache
    Defines the types and enumerations used to define cache policies for resources obtained using the WebRequest and HttpWebRequest classes.
  • System.Net.Configuration
    Contains classes that applications use to programmatically access and update configuration settings for the System.Net namespaces