.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    NetworkAddress Constructor

    NetworkAddress(string, int)

    Initializes a new instance of the NetworkAddress class with a hostname and a port.

    Declaration
    public NetworkAddress(string hostName, int port = 0)
    Parameters
    string hostName

    The hostname.

    int port

    The port.

    NetworkAddress(IPAddress, int)

    Initializes a new instance of the NetworkAddress class with an IP address and a port.

    Declaration
    public NetworkAddress(IPAddress ipAddress, int port = 0)
    Parameters
    IPAddress ipAddress

    The IP address.

    int port

    The port.

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