System.Net
MSDN Home
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
Class Library Reference
System.Net
AuthenticationManager Class
AuthenticationSchemes Enumerat ...
AuthenticationSchemeSelector D ...
Authorization Class
BindIPEndPoint Delegate
Cookie Class
CookieCollection Class
CookieContainer Class
CookieException Class
CredentialCache Class
DecompressionMethods Enumerati ...
Dns Class
DnsPermission Class
DnsPermissionAttribute Class
DownloadDataCompletedEventArgs ...
DownloadDataCompletedEventHand ...
DownloadProgressChangedEventAr ...
DownloadProgressChangedEventHa ...
DownloadStringCompletedEventAr ...
DownloadStringCompletedEventHa ...
EndPoint Class
EndpointPermission Class
FileWebRequest Class
FileWebResponse Class
FtpStatusCode Enumeration
FtpWebRequest Class
FtpWebResponse Class
GlobalProxySelection Class
HttpContinueDelegate Delegate
HttpListener Class
HttpListenerBasicIdentity Clas ...
HttpListenerContext Class
HttpListenerException Class
HttpListenerPrefixCollection C ...
HttpListenerRequest Class
HttpListenerResponse Class
HttpRequestHeader Enumeration
HttpResponseHeader Enumeration
HttpStatusCode Enumeration
HttpVersion Class
HttpWebRequest Class
HttpWebResponse Class
IAuthenticationModule Interfac ...
ICertificatePolicy Interface
ICredentialPolicy Interface
ICredentials Interface
ICredentialsByHost Interface
IPAddress Class
IPEndPoint Class
IPHostEntry Class
IrDAEndPoint Class
IWebProxy Interface
IWebProxyScript Interface
IWebRequestCreate Interface
NetworkAccess Enumeration
NetworkCredential Class
OpenReadCompletedEventArgs Cla ...
OpenReadCompletedEventHandler ...
OpenWriteCompletedEventArgs Cl ...
OpenWriteCompletedEventHandler ...
ProtocolViolationException Cla ...
SecurityProtocolType Enumerati ...
ServicePoint Class
ServicePointManager Class
SocketAddress Class
SocketPermission Class
SocketPermissionAttribute Clas ...
TransportType Enumeration
UploadDataCompletedEventArgs C ...
UploadDataCompletedEventHandle ...
UploadFileCompletedEventArgs C ...
UploadFileCompletedEventHandle ...
UploadProgressChangedEventArgs ...
UploadProgressChangedEventHand ...
UploadStringCompletedEventArgs ...
UploadStringCompletedEventHand ...
UploadValuesCompletedEventArgs ...
UploadValuesCompletedEventHand ...
WebClient Class
WebException Class
WebExceptionStatus Enumeration
WebHeaderCollection Class
WebPermission Class
WebPermissionAttribute Class
WebProxy Class
WebRequest Class
WebRequestMethods Class
WebRequestMethods.File Class
WebRequestMethods.Ftp Class
WebRequestMethods.Http Class
WebResponse Class
Class Library Reference
( Default Namespace )
Accessibility
IEHost.Execute
Microsoft.Aspnet.Snapin
Microsoft.Build.BuildEngine
Microsoft.Build.Framework
Microsoft.Build.Tasks
Microsoft.Build.Tasks.Deployme ...
Microsoft.Build.Tasks.Deployme ...
Microsoft.Build.Tasks.Hosting
Microsoft.Build.Utilities
Microsoft.CLRAdmin
Microsoft.CSharp
Microsoft.IE
Microsoft.JScript
Microsoft.JScript.Vsa
Microsoft.SqlServer.Server
Microsoft.VisualBasic
Microsoft.VisualBasic.Applicat ...
Microsoft.VisualBasic.Compiler ...
Microsoft.VisualBasic.Devices
Microsoft.VisualBasic.FileIO
Microsoft.VisualBasic.Logging
Microsoft.VisualBasic.MyServic ...
Microsoft.VisualBasic.MyServic ...
Microsoft.VisualBasic.Vsa
Microsoft.VisualC
Microsoft.Vsa
Microsoft.Vsa.Vb.CodeDOM
Microsoft.Win32
Microsoft.Win32.SafeHandles
Microsoft.WindowsCE.Forms
Microsoft.WindowsMobile.Direct ...
Microsoft.WindowsMobile.Direct ...
Microsoft_VsaVb
System
System.CodeDom
System.CodeDom.Compiler
System.Collections
System.Collections.Generic
System.Collections.ObjectModel
System.Collections.Specialized
System.ComponentModel
System.ComponentModel.Design
System.ComponentModel.Design.D ...
System.ComponentModel.Design.S ...
System.Configuration
System.Configuration.Assemblie ...
System.Configuration.Install
System.Configuration.Internal
System.Configuration.Provider
System.Data
System.Data.Common
System.Data.Design
System.Data.Odbc
System.Data.OleDb
System.Data.OracleClient
System.Data.Sql
System.Data.SqlClient
System.Data.SqlServerCe
System.Data.SqlTypes
System.Deployment.Application
System.Deployment.Internal
System.Diagnostics
System.Diagnostics.CodeAnalysi ...
System.Diagnostics.Design
System.Diagnostics.SymbolStore
System.DirectoryServices
System.DirectoryServices.Activ ...
System.DirectoryServices.Proto ...
System.Drawing
System.Drawing.Design
System.Drawing.Drawing2D
System.Drawing.Imaging
System.Drawing.Printing
System.Drawing.Text
System.EnterpriseServices
System.EnterpriseServices.Comp ...
System.EnterpriseServices.Inte ...
System.Globalization
System.IO
System.IO.Compression
System.IO.IsolatedStorage
System.IO.Ports
System.Management
System.Management.Instrumentat ...
System.Media
System.Messaging
System.Messaging.Design
System.Net
System.Net.Cache
System.Net.Configuration
System.Net.Mail
System.Net.Mime
System.Net.NetworkInformation
System.Net.Security
System.Net.Sockets
System.Reflection
System.Reflection.Emit
System.Resources
System.Resources.Tools
System.Runtime
System.Runtime.CompilerService ...
System.Runtime.ConstrainedExec ...
System.Runtime.Hosting
System.Runtime.InteropServices
System.Runtime.InteropServices ...
System.Runtime.InteropServices ...
System.Runtime.InteropServices ...
System.Runtime.Remoting
System.Runtime.Remoting.Activa ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Contex ...
System.Runtime.Remoting.Lifeti ...
System.Runtime.Remoting.Messag ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Proxie ...
System.Runtime.Remoting.Servic ...
System.Runtime.Serialization
System.Runtime.Serialization.F ...
System.Runtime.Serialization.F ...
System.Runtime.Serialization.F ...
System.Runtime.Versioning
System.Security
System.Security.AccessControl
System.Security.Authentication
System.Security.Cryptography
System.Security.Cryptography.P ...
System.Security.Cryptography.X ...
System.Security.Cryptography.X ...
System.Security.Permissions
System.Security.Policy
System.Security.Principal
System.ServiceProcess
System.ServiceProcess.Design
System.Text
System.Text.RegularExpressions
System.Threading
System.Timers
System.Transactions
System.Transactions.Configurat ...
System.Web
System.Web.Caching
System.Web.Compilation
System.Web.Configuration
System.Web.Configuration.Inter ...
System.Web.Handlers
System.Web.Hosting
System.Web.Mail
System.Web.Management
System.Web.Mobile
System.Web.Profile
System.Web.RegularExpressions
System.Web.Security
System.Web.Services
System.Web.Services.Configurat ...
System.Web.Services.Descriptio ...
System.Web.Services.Discovery
System.Web.Services.Protocols
System.Web.SessionState
System.Web.UI
System.Web.UI.Adapters
System.Web.UI.Design
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.WebContro ...
System.Web.UI.Design.WebContro ...
System.Web.UI.HtmlControls
System.Web.UI.MobileControls
System.Web.UI.MobileControls.A ...
System.Web.UI.MobileControls.A ...
System.Web.UI.WebControls
System.Web.UI.WebControls.Adap ...
System.Web.UI.WebControls.WebP ...
System.Web.Util
System.Windows.Forms
System.Windows.Forms.Component ...
System.Windows.Forms.Design
System.Windows.Forms.Design.Be ...
System.Windows.Forms.Layout
System.Windows.Forms.PropertyG ...
System.Windows.Forms.VisualSty ...
System.Xml
System.Xml.Schema
System.Xml.Serialization
System.Xml.Serialization.Advan ...
System.Xml.Serialization.Confi ...
System.Xml.XPath
System.Xml.Xsl
System.Xml.Xsl.Runtime
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
System.Net Namespace
The
System.Net
namespace provides a simple programming interface for many of the protocols used on networks today. The
WebRequest
and
WebResponse
classes form the basis of what are called pluggable protocols, an implementation of network services that enables you to develop applications that use Internet resources without worrying about the specific details of the individual protocols.
Classes
Class
Description
AuthenticationManager
Manages the authentication modules called during the client authentication process.
Authorization
Contains an authentication message for an Internet server.
Cookie
Provides a set of properties and methods that are used to manage cookies. This class cannot be inherited.
CookieCollection
Provides a collection container for instances of the
Cookie
class.
CookieContainer
Provides a container for a collection of
CookieCollection
objects.
CookieException
The exception that is thrown when an error is made adding a
Cookie
to a
CookieContainer
.
CredentialCache
Provides storage for multiple credentials.
Dns
Provides simple domain name resolution functionality.
DnsPermission
Controls rights to access Domain Name System (DNS) servers on the network.
DnsPermissionAttribute
Specifies permission to request information from Domain Name Servers.
DownloadDataCompletedEventArgs
Provides data for the
DownloadDataCompleted
event.
DownloadProgressChangedEventArgs
Provides data for the
DownloadProgressChanged
event of a
WebClient
.
DownloadStringCompletedEventArgs
Provides data for the
DownloadStringCompleted
event.
EndPoint
Identifies a network address. This is an
abstract
class.
EndpointPermission
Defines an endpoint that is authorized by a
SocketPermission
instance.
FileWebRequest
Provides a file system implementation of the
WebRequest
class.
FileWebResponse
Provides a file system implementation of the
WebResponse
class.
FtpWebRequest
Implements a File Transfer Protocol (FTP) client.
FtpWebResponse
Encapsulates a File Transfer Protocol (FTP) server's response to a request.
GlobalProxySelection
Contains a global default proxy instance for all HTTP requests.
HttpListener
Provides a simple, programmatically controlled HTTP protocol listener. This class cannot be inherited.
HttpListenerBasicIdentity
Holds the user name and password from a basic authentication request.
HttpListenerContext
Provides access to the request and response objects used by the
HttpListener
class. This class cannot be inherited.
HttpListenerException
The exception that is thrown when an error occurs processing an HTTP request.
HttpListenerPrefixCollection
Represents the collection used to store Uniform Resource Identifier (URI) prefixes for
HttpListener
objects.
HttpListenerRequest
Describes an incoming HTTP request to an
HttpListener
object. This class cannot be inherited.
HttpListenerResponse
Represents a response to a request being handled by an
HttpListener
object.
HttpVersion
Defines the HTTP version numbers that are supported by the
HttpWebRequest
and
HttpWebResponse
classes.
HttpWebRequest
Provides an HTTP-specific implementation of the
WebRequest
class.
HttpWebResponse
Provides an HTTP-specific implementation of the
WebResponse
class.
IPAddress
Provides an Internet Protocol (IP) address.
IPEndPoint
Represents a network endpoint as an IP address and a port number.
IPHostEntry
Provides a container class for Internet host address information.
IrDAEndPoint
Represents an end point for an infrared connection.
NetworkCredential
Provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication.
OpenReadCompletedEventArgs
Provides data for the
OpenReadCompleted
event.
OpenWriteCompletedEventArgs
Provides data for the
OpenWriteCompleted
event.
ProtocolViolationException
The exception that is thrown when an error is made while using a network protocol.
ServicePoint
Provides connection management for HTTP connections.
ServicePointManager
Manages the collection of
ServicePoint
objects.
SocketAddress
Stores serialized information from
EndPoint
derived classes.
SocketPermission
Controls rights to make or accept connections on a transport address.
SocketPermissionAttribute
Specifies security actions to control
Socket
connections. This class cannot be inherited.
UploadDataCompletedEventArgs
Provides data for the
UploadDataCompleted
event.
UploadFileCompletedEventArgs
Provides data for the
UploadFileCompleted
event.
UploadProgressChangedEventArgs
Provides data for the
UploadProgressChanged
event of a
WebClient
.
UploadStringCompletedEventArgs
Provides data for the
UploadStringCompleted
event.
UploadValuesCompletedEventArgs
Provides data for the
UploadValuesCompleted
event.
WebClient
Provides common methods for sending data to and receiving data from a resource identified by a URI.
WebException
The exception that is thrown when an error occurs while accessing the network through a pluggable protocol.
WebHeaderCollection
Contains protocol headers associated with a request or response.
WebPermission
Controls rights to access HTTP Internet resources.
WebPermissionAttribute
Specifies permission to access Internet resources. This class cannot be inherited.
WebProxy
Contains HTTP proxy settings for the
WebRequest
class.
WebRequest
Makes a request to a Uniform Resource Identifier (URI). This is an
abstract
class.
WebRequestMethods
Container class for
WebRequestMethods.Ftp
,
WebRequestMethods.File
, and
WebRequestMethods.Http
classes. This class cannot be inherited
WebRequestMethods.File
Represents the types of file protocol methods that can be used with a FILE request. This class cannot be inherited.
WebRequestMethods.Ftp
Represents the types of FTP protocol methods that can be used with an FTP request. This class cannot be inherited.
WebRequestMethods.Http
Represents the types of HTTP protocol methods that can be used with an HTTP request.
WebResponse
Provides a response from a Uniform Resource Identifier (URI). This is an
abstract
class.
Interfaces
Interface
Description
IAuthenticationModule
Provides the base authentication interface for Web client authentication modules.
ICertificatePolicy
Validates a server certificate.
ICredentialPolicy
Defines the credential policy to be used for resource requests that are made using
WebRequest
and its derived classes.
ICredentials
Provides the base authentication interface for retrieving credentials for Web client authentication.
ICredentialsByHost
Provides the interface for retrieving credentials for a host, port, and authentication type.
IWebProxy
Provides the base interface for implementation of proxy access for the
WebRequest
class.
IWebProxyScript
Provides the base interface to load and execute scripts for automatic proxy detection.
IWebRequestCreate
Provides the base interface for creating
WebRequest
instances.
Delegates
Delegate
Description
AuthenticationSchemeSelector
Selects the authentication scheme for an
HttpListener
instance.
BindIPEndPoint
Represents the method that specifies a local Internet Protocol address and port number for a
ServicePoint
.
DownloadDataCompletedEventHandler
Represents the method that will handle the
DownloadDataCompleted
event of a
WebClient
.
DownloadProgressChangedEventHandler
Represents the method that will handle the
WebClient.DownloadProgressChanged
event of a
WebClient
.
DownloadStringCompletedEventHandler
Represents the method that will handle the
DownloadStringCompleted
event of a
WebClient
.
HttpContinueDelegate
Represents the method that notifies callers when a continue response is received by the client.
OpenReadCompletedEventHandler
Represents the method that will handle the
OpenReadCompleted
event of a
WebClient
.
OpenWriteCompletedEventHandler
Represents the method that will handle the
OpenWriteCompleted
event of a
WebClient
.
UploadDataCompletedEventHandler
Represents the method that will handle the
UploadDataCompleted
event of a
WebClient
.
UploadFileCompletedEventHandler
Represents the method that will handle the
UploadFileCompleted
event of a
WebClient
.
UploadProgressChangedEventHandler
Represents the method that will handle the
UploadProgressChanged
event of a
WebClient
.
UploadStringCompletedEventHandler
Represents the method that will handle the
UploadStringCompleted
event of a
WebClient
.
UploadValuesCompletedEventHandler
Represents the method that will handle the
UploadValuesCompleted
event of a
WebClient
.
Enumerations
Enumeration
Description
AuthenticationSchemes
Specifies protocols for authentication.
DecompressionMethods
Represents the file compression and decompression encoding format to be used to compress the data received in response to an
HttpWebRequest
.
FtpStatusCode
Specifies the status codes returned for a File Transfer Protocol (FTP) operation.
HttpRequestHeader
The HTTP headers that may be specified in a client request.
HttpResponseHeader
The HTTP headers that can be specified in a server response.
HttpStatusCode
Contains the values of status codes defined for HTTP.
NetworkAccess
Specifies network access permissions.
SecurityProtocolType
Specifies the security protocols that are supported by the Schannel security package.
TransportType
Defines transport types for the
SocketPermission
and
Socket
classes.
WebExceptionStatus
Defines status codes for the
WebException
class.
Tags :