Beispiel #1
0
        /// <summary>Returns a CSV of all listening addresses followed by the port number.</summary>
        public static String ToString2(this IPEndPoint p)
        {
            String addresses = '{' + p.GetListeningAddresses().ToCsv() + "}:";

            return(addresses + p.Port.ToStringInvariant());
        }