Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Net.​EndPoint
Assembly: System.Net.Primitives
Inheritance: object → EndPoint
Identifies a network address. This is an <see langword="abstract" /> class.
Properties
public
AddressFamily
AddressFamily
Gets the address family to which the endpoint belongs.
Methods
public
EndPoint
Create​(SocketAddress socketAddress)
socketAddress
The socket address that serves as the endpoint for a connection.
Returns A new <see cref="T:System.Net.EndPoint" /> instance that is initialized from the specified <see cref="T:System.Net.SocketAddress" /> instance.
Creates an <see cref="T:System.Net.EndPoint" /> instance from a <see cref="T:System.Net.SocketAddress" /> instance.
public
SocketAddress
Serialize​() Returns A <see cref="T:System.Net.SocketAddress" /> instance that contains the endpoint information.
Serializes endpoint information into a <see cref="T:System.Net.SocketAddress" /> instance.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object