IPEnd |
public class IPEndPoint
The IPEndPoint type exposes the following members.
| Name | Description | |
|---|---|---|
| IPEndPoint(Int64, Int32) | Initializes a new instance of the IPEndPoint class with the specified address and port number. | |
| IPEndPoint(IPAddress, Int32) | Initializes a new instance of the IPEndPoint class with the specified address and port number. |
| Name | Description | |
|---|---|---|
| Address | Gets or sets the IP address of the endpoint. Returns a IPAddress instance containing the IP address of the endpoint. | |
| AddressFamily | Gets the Internet Protocol (IP) address family. Returns SimplSharp.AddressFamily.InterNetwork. | |
| Port | 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. |
| Name | Description | |
|---|---|---|
| Equals |
Compares two IPEndPoints
(Overrides ObjectEquals(Object)) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode |
Returns an hash value for the endpoint
(Overrides ObjectGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString |
Returns the IP address and port number of the specified endpoint.
(Overrides ObjectToString) |
| Name | Description | |
|---|---|---|
| MaxPort | 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. | |
| MinPort | Specifies the minimum value that can be assigned to the IPEndPoint.Port property. This field is read-only. |