Click or drag to resize

IPEndPoint Class

Represents a network endpoint as an IP address and a port number.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpIPEndPoint

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class IPEndPoint

The IPEndPoint type exposes the following members.

Constructors
 NameDescription
Public methodIPEndPoint(Int64, Int32) Initializes a new instance of the IPEndPoint class with the specified address and port number.
Public methodIPEndPoint(IPAddress, Int32) Initializes a new instance of the IPEndPoint class with the specified address and port number.
Top
Properties
 NameDescription
Public propertyAddress Gets or sets the IP address of the endpoint. Returns a IPAddress instance containing the IP address of the endpoint.
Public propertyAddressFamily Gets the Internet Protocol (IP) address family. Returns SimplSharp.AddressFamily.InterNetwork.
Public propertyPort Gets or sets the port number of the endpoint. Returns An integer value in the range IPEndPoint.MinPort to IPEndPoint.MaxPort indicating the port number of the endpoint.
Top
Methods
 NameDescription
Public methodEquals Compares two IPEndPoints
(Overrides ObjectEquals(Object))
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Returns an hash value for the endpoint
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Returns the IP address and port number of the specified endpoint.
(Overrides ObjectToString)
Top
Fields
 NameDescription
Public fieldStatic memberMaxPort Specifies the maximum value that can be assigned to the IPEndPoint.Port property. The MaxPort value is set to 0x0000FFFF. This field is read-only.
Public fieldStatic memberMinPort Specifies the minimum value that can be assigned to the IPEndPoint.Port property. This field is read-only.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also