NetworkAddress Class
Namespace: Hazelcast.Networking
Assembly: Hazelcast.Net.dll
Represents a network address.
public class NetworkAddress : IEquatable<NetworkAddress>
  Implements
Inherited Members
Constructors
| Name | Description | 
|---|---|
| NetworkAddress(IPAddress, int) | Initializes a new instance of the NetworkAddress class with an IP address and a port.  | 
      
| NetworkAddress(string, int) | Initializes a new instance of the NetworkAddress class with a hostname and a port.  | 
      
Properties
| Name | Description | 
|---|---|
| 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
| Name | Description | 
|---|---|
| Equals(NetworkAddress) | Indicates whether the current object is equal to another object of the same type.  | 
      
| Equals(object) | Determines whether the specified object is equal to the current object.  | 
      
| GetHashCode() | Serves as the default hash function.  | 
      
| ToString() | Returns a string that represents the current object.  | 
      
Operators
| Name | Description | 
|---|---|
| operator ==(NetworkAddress, NetworkAddress) | Overrides the == operator.  | 
      
| operator !=(NetworkAddress, NetworkAddress) | Overrides the != operator.  |