diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2019-07-27 17:50:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-27 17:50:17 -0700 |
| commit | 85b277b872757d464c701e11350b47a07d98bf82 (patch) | |
| tree | 2a6166e65c9c6be7006e97f7e2129cce837d5b30 /RSSDP/SsdpRootDevice.cs | |
| parent | 80145cd5a3503164b3d42fcf44346edf570b711c (diff) | |
| parent | 8270d0cc91783c0c8c052b43af0d633edb8b6b04 (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.cs | 10 |
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. |
