make dlna project portable

This commit is contained in:
Luke Pulverenti
2016-11-04 04:31:05 -04:00
parent c29394a81a
commit 6d250c4050
54 changed files with 1324 additions and 1042 deletions

View File

@@ -5,6 +5,7 @@ using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using MediaBrowser.Model.Net;
namespace Rssdp.Infrastructure
{
@@ -17,7 +18,7 @@ namespace Rssdp.Infrastructure
#region Fields
private readonly HttpResponseMessage _Message;
private readonly UdpEndPoint _ReceivedFrom;
private readonly IpEndPointInfo _ReceivedFrom;
#endregion
@@ -26,9 +27,7 @@ namespace Rssdp.Infrastructure
/// <summary>
/// Full constructor.
/// </summary>
/// <param name="message">The <see cref="HttpResponseMessage"/> that was received.</param>
/// <param name="receivedFrom">A <see cref="UdpEndPoint"/> representing the sender's address (sometimes used for replies).</param>
public ResponseReceivedEventArgs(HttpResponseMessage message, UdpEndPoint receivedFrom)
public ResponseReceivedEventArgs(HttpResponseMessage message, IpEndPointInfo receivedFrom)
{
_Message = message;
_ReceivedFrom = receivedFrom;
@@ -49,7 +48,7 @@ namespace Rssdp.Infrastructure
/// <summary>
/// The <see cref="UdpEndPoint"/> the response came from.
/// </summary>
public UdpEndPoint ReceivedFrom
public IpEndPointInfo ReceivedFrom
{
get { return _ReceivedFrom; }
}