Bricklayer.Common.Data.ServerSaveData.GetHostString C# (CSharp) Method

GetHostString() public method

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