C # a preliminary understanding of the System. Net class,

Source: Internet
Author: User

C # a preliminary understanding of the System. Net class,

The System. Net namespace provides simple programming interfaces for various protocols used on the current network. The WebRequest and WebResponse classes form the basis of the so-called pluggable protocol. The pluggable protocol is an implementation of network services, which enables you to develop applications that use Internet resources, you do not have to consider the details of different protocols.

Section 1: Cookie

Provides an object used with an HTTP request to save the status information of a Silverlight-based application.

Section 2: CookieCollection

Indicates the set of Cookie objects.

Section 3: CookieException class

Exception thrown when a Cookie is added to CookieCollection.

Section 4: CookieContainer class

Provides a container for the set of CookieCollection objects.

Section 5: WebRequest class

The WebRequest class sends a request to the Uniform Resource Identifier (URI. This is an abstract class.

Section 6: WebResponse class

Provides responses from uniform resource identifiers (URIs. This is an abstract class.

Section 7: WebHeaderCollection

Contains the protocol header associated with the request or response.

Section 8: HttpRequestHeader Enumeration

You can specify the HTTP header in the client request.

Section 9: Stream class (System. IO. Stream)

Provides a general view of the byte sequence.

Section 10: WebClient

Provides common methods to send data to resources identified by Uris and receive data from such resources.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.