aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpRootDevice.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2019-07-27 17:50:17 -0700
committerGitHub <noreply@github.com>2019-07-27 17:50:17 -0700
commit85b277b872757d464c701e11350b47a07d98bf82 (patch)
tree2a6166e65c9c6be7006e97f7e2129cce837d5b30 /RSSDP/SsdpRootDevice.cs
parent80145cd5a3503164b3d42fcf44346edf570b711c (diff)
parent8270d0cc91783c0c8c052b43af0d633edb8b6b04 (diff)
Merge pull request #1524 from Bond-009/ipaddress
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.