aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/UdpEndPoint.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-04 04:31:05 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-04 04:31:05 -0400
commit6d250c4050ceb0bda33aad6a484fd05e508c4e27 (patch)
tree9776c6fe796bcbbea2d753ddd78d925a5645d69a /RSSDP/UdpEndPoint.cs
parentc29394a81a8d00e16e2706850ae9127933e73cda (diff)
make dlna project portable
Diffstat (limited to 'RSSDP/UdpEndPoint.cs')
-rw-r--r--RSSDP/UdpEndPoint.cs37
1 files changed, 0 insertions, 37 deletions
diff --git a/RSSDP/UdpEndPoint.cs b/RSSDP/UdpEndPoint.cs
deleted file mode 100644
index 617769cf4..000000000
--- a/RSSDP/UdpEndPoint.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Rssdp.Infrastructure
-{
- /// <summary>
- /// Cross platform representation of a UDP end point, being an IP address (either IPv4 or IPv6) and a port.
- /// </summary>
- public sealed class UdpEndPoint
- {
-
- /// <summary>
- /// The IP Address of the end point.
- /// </summary>
- /// <remarks>
- /// <para>Can be either IPv4 or IPv6, up to the code using this instance to determine which was provided.</para>
- /// </remarks>
- public string IPAddress { get; set; }
-
- /// <summary>
- /// The port of the end point.
- /// </summary>
- public int Port { get; set; }
-
- /// <summary>
- /// Returns the <see cref="IPAddress"/> and <see cref="Port"/> values separated by a colon.
- /// </summary>
- /// <returns>A string containing <see cref="IPAddress"/>:<see cref="Port"/>.</returns>
- public override string ToString()
- {
- return (this.IPAddress ?? String.Empty) + ":" + this.Port.ToString();
- }
- }
-}