aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/System
diff options
context:
space:
mode:
authorJPVenson <github@jpb.software>2025-03-01 14:16:49 +0000
committerJPVenson <github@jpb.software>2025-03-01 14:16:49 +0000
commitfeea5af2f3f138c731ae46ca92b67039f6ab96f6 (patch)
tree769b727dc848b3be94e0d12e741a4a3d2f00e2d8 /MediaBrowser.Model/System
parenta6b4d124d71c0bbb9dff5f226e65875e03384ab4 (diff)
parent04f7cd6011633f51a4ae50c81141a390d8164bbc (diff)
Merge remote-tracking branch 'jellyfinorigin/master' into feature/DatabaseRefactor
Diffstat (limited to 'MediaBrowser.Model/System')
-rw-r--r--MediaBrowser.Model/System/WakeOnLanInfo.cs47
1 files changed, 0 insertions, 47 deletions
diff --git a/MediaBrowser.Model/System/WakeOnLanInfo.cs b/MediaBrowser.Model/System/WakeOnLanInfo.cs
deleted file mode 100644
index aba19a6ba..000000000
--- a/MediaBrowser.Model/System/WakeOnLanInfo.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using System.Net.NetworkInformation;
-
-namespace MediaBrowser.Model.System
-{
- /// <summary>
- /// Provides the MAC address and port for wake-on-LAN functionality.
- /// </summary>
- public class WakeOnLanInfo
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="WakeOnLanInfo" /> class.
- /// </summary>
- /// <param name="macAddress">The MAC address.</param>
- public WakeOnLanInfo(PhysicalAddress macAddress) : this(macAddress.ToString())
- {
- }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="WakeOnLanInfo" /> class.
- /// </summary>
- /// <param name="macAddress">The MAC address.</param>
- public WakeOnLanInfo(string macAddress) : this()
- {
- MacAddress = macAddress;
- }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="WakeOnLanInfo" /> class.
- /// </summary>
- public WakeOnLanInfo()
- {
- Port = 9;
- }
-
- /// <summary>
- /// Gets the MAC address of the device.
- /// </summary>
- /// <value>The MAC address.</value>
- public string? MacAddress { get; }
-
- /// <summary>
- /// Gets or sets the wake-on-LAN port.
- /// </summary>
- /// <value>The wake-on-LAN port.</value>
- public int Port { get; set; }
- }
-}