Search Results for

    Show / Hide Table of Contents

    Extensions.ToStringBasedOnIPFormat Method

    Namespace: Riptide.Utils
    Assembly: RiptideNetworking.dll

    ToStringBasedOnIPFormat(IPEndPoint)

    Takes the IPEndPoint's IP address and port number and converts it to a string, accounting for whether the address is an IPv4 or IPv6 address.

    public static string ToStringBasedOnIPFormat(this IPEndPoint endPoint)

    Parameters

    IPEndPoint endPoint

    Returns

    string

    A string containing the IP address and port number of the endpoint.

    • Improve this Doc
    • View Source
    • Support Riptide
    In This Article
    Back to top Copyright © Tom Weiland 2022
    Made with DocFX