Namespace System.Net
Provides classes for network programming. This namespace includes classes for working with IP addresses, network protocols, and network services.
Namespaces
-
System.Net.Sockets
Provides classes for low-level network socket operations.
-
System.Net.Http
Provides classes for sending HTTP requests and receiving HTTP responses.
-
System.Net.Mail
Provides classes for sending and receiving email using the Simple Mail Transfer Protocol (SMTP).
-
System.Net.NetworkInformation
Provides classes for querying network configuration and statistics.
Classes
-
IPAddress
Represents an Internet Protocol (IP) address.
Members
AddressFamily public AddressFamily AddressFamily { get; }IsIPv4MappedToIPv6 public bool IsIPv4MappedToIPv6 { get; }Parse(string ipString) public static IPAddress Parse(string ipString)ToString() public override string ToString()View all members... -
EndPoint
Represents an endpoint (IP address and port number) for a socket.
Members
AddressFamily public abstract AddressFamily AddressFamily { get; }Create(string host, int port) public static EndPoint Create(string host, int port)View all members... -
Uri
Represents a Uniform Resource Identifier (URI) reference.
Members
AbsoluteUri public Uri AbsoluteUri { get; }Scheme public string Scheme { get; }IsAbsoluteUri public bool IsAbsoluteUri { get; }View all members... -
NetworkCredential
Represents a user's network credentials.
Members
UserName public string UserName { get; set; }Password public string Password { get; set; }View all members...
Interfaces
-
IWebProxy
Defines the contract for types that implement proxy server functionality.
Members
GetProxy(Uri destination) public abstract Uri GetProxy(Uri destination)Credentials public ICredentials Credentials { get; set; }View all members...
Enums
-
TransportType
Specifies the transport protocols used by the network.
-
SecurityProtocolType
Specifies the transport layer security (TLS) protocols that are used by the
System.Net.ServicePointorSystem.Net.WebRequestclasses.