Bricklayer.Common.Data.ServerSaveData.GetHostString C# (CSharp) Метод

GetHostString() публичный Метод

Returns a string created from an IP and port (If it exists), such as localhost:0000
public GetHostString ( ) : string
Результат string
        public string GetHostString()
        {
            return Port == 0 ? IP : IP + ":" + Port;
        }