jellyfin-server/MediaBrowser.Model/Net/IpEndPointInfo.cs

19 lines
409 B
C#
Raw Normal View History

2016-11-04 08:31:05 +00:00
using System;
namespace MediaBrowser.Model.Net
{
public class IpEndPointInfo
{
public IpAddressInfo IpAddress { get; set; }
public int Port { get; set; }
public override string ToString()
{
var ipAddresString = IpAddress == null ? string.Empty : IpAddress.ToString();
return ipAddresString + ":" + this.Port.ToString();
}
}
}