.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    NetworkAddress Class

    Namespace: Hazelcast.Networking
    Assembly: Hazelcast.Net.dll

    Represents a network address.

    public class NetworkAddress : IEquatable<NetworkAddress>
    Inheritance
    Object
    NetworkAddress
    Implements
    IEquatable<NetworkAddress>
    Inherited Members
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)

    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.

    In This Article
    Back to top Copyright © 2010-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.