diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2019-07-27 17:50:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-27 17:50:17 -0700 |
| commit | 85b277b872757d464c701e11350b47a07d98bf82 (patch) | |
| tree | 2a6166e65c9c6be7006e97f7e2129cce837d5b30 /MediaBrowser.Model/Net/IpEndPointInfo.cs | |
| parent | 80145cd5a3503164b3d42fcf44346edf570b711c (diff) | |
| parent | 8270d0cc91783c0c8c052b43af0d633edb8b6b04 (diff) | |
Merge pull request #1524 from Bond-009/ipaddress
Remove IpAddressInfo and IpEndPointInfo classes
Diffstat (limited to 'MediaBrowser.Model/Net/IpEndPointInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/Net/IpEndPointInfo.cs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/MediaBrowser.Model/Net/IpEndPointInfo.cs b/MediaBrowser.Model/Net/IpEndPointInfo.cs deleted file mode 100644 index f8c125144..000000000 --- a/MediaBrowser.Model/Net/IpEndPointInfo.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System.Globalization; - -namespace MediaBrowser.Model.Net -{ - public class IpEndPointInfo - { - public IpAddressInfo IpAddress { get; set; } - - public int Port { get; set; } - - public IpEndPointInfo() - { - - } - - public IpEndPointInfo(IpAddressInfo address, int port) - { - IpAddress = address; - Port = port; - } - - public override string ToString() - { - var ipAddresString = IpAddress == null ? string.Empty : IpAddress.ToString(); - - return ipAddresString + ":" + Port.ToString(CultureInfo.InvariantCulture); - } - } -} |
