mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-19 20:09:03 -07:00
19 lines
409 B
C#
19 lines
409 B
C#
|
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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|