NetworkAddress Class
Namespace: Hazelcast.Networking
Assembly: Hazelcast.Net.dll
Represents a network address.
public class NetworkAddress : IEquatable<NetworkAddress>
Implements
Constructors
| NetworkAddress(IPAddress, Int32) | Initializes a new instance of the NetworkAddress class with an IP address and a port. |
| NetworkAddress(String, Int32) | Initializes a new instance of the NetworkAddress class with a hostname and a port. |
Properties
| HostName | Gets the host name. |
| IPAddress | Gets the IP address corresponding to this address. |
| IPEndPoint | Gets the IP endpoint corresponding to this address. |
| IsIpV4 | Whether the address is an IP v4 address. |
| IsIpV6 | Whether the address is an IP v6 address. |
| IsIpV6GlobalOrScoped | Whether the address is an IP v6 address which is global (non-local), or scoped. |
| Port | Gets the port. |
Methods
| Equals(NetworkAddress) | |
| Equals(Object) | |
| GetHashCode() | |
| ToString() |
Operators
| Equality(NetworkAddress, NetworkAddress) | Overrides the == operator. |
| Inequality(NetworkAddress, NetworkAddress) | Overrides the != operator. |