aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpRootDevice.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-07-07 21:03:26 +0200
committerBond_009 <bond.009@outlook.com>2019-07-25 00:15:06 +0200
commitddd1a282ea6398ee26d74321338d0445d0a0c796 (patch)
tree5718f5f39f84941119d0fed350c33299d2adf282 /RSSDP/SsdpRootDevice.cs
parente8028de4d7cf1372dad54a7d871e853ac737d023 (diff)
Remove IpAddressInfo and IpEndPointInfo classes
Diffstat (limited to 'RSSDP/SsdpRootDevice.cs')
-rw-r--r--RSSDP/SsdpRootDevice.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/RSSDP/SsdpRootDevice.cs b/RSSDP/SsdpRootDevice.cs
index d918b9040..0f2de7b15 100644
--- a/RSSDP/SsdpRootDevice.cs
+++ b/RSSDP/SsdpRootDevice.cs
@@ -1,9 +1,5 @@
using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Xml;
-using Rssdp.Infrastructure;
-using MediaBrowser.Model.Net;
+using System.Net;
namespace Rssdp
{
@@ -56,12 +52,12 @@ namespace Rssdp
/// <summary>
/// Gets or sets the Address used to check if the received message from same interface with this device/tree. Required.
/// </summary>
- public IpAddressInfo Address { get; set; }
+ public IPAddress Address { get; set; }
/// <summary>
/// Gets or sets the SubnetMask used to check if the received message from same interface with this device/tree. Required.
/// </summary>
- public IpAddressInfo SubnetMask { get; set; }
+ public IPAddress SubnetMask { get; set; }
/// <summary>
/// The base URL to use for all relative url's provided in other propertise (and those of child devices). Optional.