aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Dlna/Server/UpnpDevice.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Dlna/Server/UpnpDevice.cs')
-rw-r--r--MediaBrowser.Dlna/Server/UpnpDevice.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Dlna/Server/UpnpDevice.cs b/MediaBrowser.Dlna/Server/UpnpDevice.cs
index 96e37eb07..6b638b85f 100644
--- a/MediaBrowser.Dlna/Server/UpnpDevice.cs
+++ b/MediaBrowser.Dlna/Server/UpnpDevice.cs
@@ -1,4 +1,5 @@
using System;
+using System.Net;
namespace MediaBrowser.Dlna.Server
{
@@ -8,13 +9,16 @@ namespace MediaBrowser.Dlna.Server
public readonly string Type;
public readonly string USN;
public readonly Guid Uuid;
+ public readonly IPAddress Address;
- public UpnpDevice(Guid aUuid, string aType, Uri aDescriptor)
+ public UpnpDevice(Guid aUuid, string aType, Uri aDescriptor, IPAddress address)
{
Uuid = aUuid;
Type = aType;
Descriptor = aDescriptor;
+ Address = address;
+
if (Type.StartsWith("uuid:"))
{
USN = Type;